Skip to content

Commit c356211

Browse files
committed
Rollup merge of #25407 - durka:patch-1, r=alexcrichton
2 parents 0028f85 + c8b0689 commit c356211

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/doc/trpl/mutability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ let y = &mut x;
3535

3636
`y` is an immutable binding to a mutable reference, which means that you can’t
3737
bind `y` to something else (`y = &mut z`), but you can mutate the thing that’s
38-
bound to `y`. (`*y = 5`) A subtle distinction.
38+
bound to `y` (`*y = 5`). A subtle distinction.
3939

4040
Of course, if you need both:
4141

src/doc/trpl/patterns.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ match x {
6666
}
6767
```
6868

69-
This prints `something else`
69+
This prints `something else`.
7070

7171
# Bindings
7272

@@ -152,7 +152,7 @@ match x {
152152
}
153153
```
154154

155-
This prints `Got an int!`
155+
This prints `Got an int!`.
156156

157157
# ref and ref mut
158158

0 commit comments

Comments
 (0)