Skip to content

Commit

Permalink
Merge smaller branches to simplify review process
Browse files Browse the repository at this point in the history
  • Loading branch information
trueNAHO committed Oct 25, 2023
3 parents 60b6563 + 37ae8b5 + 626ffd8 commit 210a9d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fn/closures.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn main() {
// TODO: uncomment the line above and see the compiler error. The compiler
// suggests that we define a closure instead.
// Closures are anonymous, here we are binding them to references
// Closures are anonymous, here we are binding them to references.
// Annotation is identical to function annotation but is optional
// as are the `{}` wrapping the body. These nameless functions
// are assigned to appropriately named variables.
Expand Down
2 changes: 1 addition & 1 deletion src/std/hash/alt_key_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Any type that implements the `Eq` and `Hash` traits can be a key in `HashMap`.
This includes:

* `bool` (though not very useful since there is only two possible keys)
* `bool` (though not very useful since there are only two possible keys)
* `int`, `uint`, and all variations thereof
* `String` and `&str` (protip: you can have a `HashMap` keyed by `String`
and call `.get()` with an `&str`)
Expand Down

0 comments on commit 210a9d2

Please sign in to comment.