Repository navigation
Conversation
HashMaps with floats as keys.
Contributor
|
HashMap is going to move to using |
Contributor
|
Oops! Sorry |
bors
added a commit
that referenced
this pull request
Jun 16, 2013
It can sometimes be useful to have maps/sets of floating point values. Doing arithmetic with floats and then using them as keys is, of course, not a good idea.
flip1995
pushed a commit
to flip1995/rust
that referenced
this pull request
May 6, 2021
[single_char_pattern] add strip_prefix and strip_suffix Title says it all. Adjusted ui tests. I added the second commit in case you don't like that I moved that table into `single_char_pattern.rs` directly. I don't see any reason why it shouldn't be in that file. It isn't used anywhere else. *Please write a short comment explaining your change (or "none" for internal only changes)* changelog: add strip_prefix and strip_suffix to single_char_pattern lint
U007D
pushed a commit
to U007D/rust-mos
that referenced
this pull request
Aug 21, 2026
7156: Rename extension config r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
ytmimi
added a commit
to ytmimi/rust
that referenced
this pull request
Oct 5, 2026
…comment-wrap fix(items): format comments after where using clause_shape budget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It can sometimes be useful to have maps/sets of floating point values.
Doing arithmetic with floats and then using them as keys is, of course, not a good idea.