Skip to content

Commit 31ce92d

Browse files
committed
14.3 - helpfully implied code sample is broken
As a new user, I spent a while confused when flycheck told me the code sample I'd typed in was invalid. I ended up figuring out some of what comes after the code sample more painfully by myself because there was no indication that it was broken in the text beforehand. This one line change makes it clear that the code following it is an experiment that may not work rather than something to assume just works.
1 parent 60a669a commit 31ce92d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,8 +1901,8 @@ result is a link to
19011901
click on that result, we'll be taken to its documentation page.
19021902

19031903
This page shows us a few things: the type signature of the function, some
1904-
explanatory text, and then an example. Let's modify our code to add in the
1905-
`random` function:
1904+
explanatory text, and then an example. Let's try to modify our code to add in the
1905+
`random` function and see what happens:
19061906

19071907
```{rust,ignore}
19081908
use std::io;

0 commit comments

Comments
 (0)