Skip to content

Commit 8d4dd8b

Browse files
committed
Rollup merge of rust-lang#22264 - fhahn:tiny-doc-fix2, r=Gankro
While having a look at the Rust book I found this tiny error. In my opinion this if should be all lowercase, because it follows a colon, but I am no native speaker, so I am probably wrong. Also it is a very tiny change, so feel free to include it in any bigger documentation patch.
2 parents 91ea661 + f28a333 commit 8d4dd8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/more-strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ and only moving to this:
9191
fn foo(s: String) {
9292
```
9393

94-
If you have good reason. It's not polite to hold on to ownership you don't
94+
if you have good reason. It's not polite to hold on to ownership you don't
9595
need, and it can make your lifetimes more complex.
9696

9797
## Generic functions

0 commit comments

Comments
 (0)