Skip to content

Commit 210a9d2

Browse files
committed
Merge smaller branches to simplify review process
Closes: - #1758 - #1757 - #1756
3 parents 60b6563 + 37ae8b5 + 626ffd8 commit 210a9d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/fn/closures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn main() {
2626
// TODO: uncomment the line above and see the compiler error. The compiler
2727
// suggests that we define a closure instead.
2828
29-
// Closures are anonymous, here we are binding them to references
29+
// Closures are anonymous, here we are binding them to references.
3030
// Annotation is identical to function annotation but is optional
3131
// as are the `{}` wrapping the body. These nameless functions
3232
// are assigned to appropriately named variables.

src/std/hash/alt_key_types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Any type that implements the `Eq` and `Hash` traits can be a key in `HashMap`.
44
This includes:
55

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

0 commit comments

Comments
 (0)