Skip to content

Commit c3802f6

Browse files
Rollup merge of #37309 - vkatsikaros:vkatsikaros/37307, r=GuillaumeGomez
TRPL: guessing game: minor clarification The original text is correct and exact, but might confuse a non-English speaker (at least I was confused), so I made it a bit more plain (see #37307). I know minor wording changes like these are affected by personal style, so I'd understand if you don't find this useful. r? @steveklabnik
2 parents 8aa14c3 + cf0fc72 commit c3802f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/guessing-game.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ displaying the message.
276276
[expect]: ../std/result/enum.Result.html#method.expect
277277
[panic]: error-handling.html
278278

279-
If we leave off calling this method, our program will compile, but
279+
If we do not call `expect()`, our program will compile, but
280280
we’ll get a warning:
281281

282282
```bash

0 commit comments

Comments
 (0)