diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-08-30 23:47:23 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-08-30 23:47:23 -0700 |
| commit | d1a5b277a1cef4cfd48e9aa987e5c8776360fd25 (patch) | |
| tree | 12081aa017cd6b5c52f42f9d81e07422c0e58a6f /src/doc | |
| parent | 0bce6672495d4339c0b2a2d2965bcc8024152e1a (diff) | |
| parent | 5bf1b03e5c8753680c231ebcb7735a9855de31a3 (diff) | |
rollup merge of #16839 : treeman/issue-15358
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md index a22e69feb07..4c8dd86c616 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -630,7 +630,7 @@ In Rust, however, using `let` to introduce a binding is _not_ an expression. The following will produce a compile-time error: ```{ignore} -let x = (let y = 5i); // found `let` in ident position +let x = (let y = 5i); // expected identifier, found keyword `let` ``` The compiler is telling us here that it was expecting to see the beginning of |
