about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-10-22 03:41:28 +0000
committerbors <bors@rust-lang.org>2018-10-22 03:41:28 +0000
commita66dc8a1489d2818b5e63f18e1464be79da1f137 (patch)
tree8619eb38db445022fd891878933263290d341904
parent548148567078c738b84bd1d97ea32a99355bf13d (diff)
parente10f0cd07db1be8579cd6fd4f3da7cd94502a18c (diff)
Auto merge of #55224 - kryptan:master, r=matthewjasper
Use a keyword in raw identifier example

That's a very small documentation fix. The text says "you can now use keywords as identifiers" but example didn't use a keyword and would work without raw identifiers.
-rw-r--r--RELEASES.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/RELEASES.md b/RELEASES.md
index b40897a7509..7ae7dc9935b 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -7,7 +7,7 @@ Language
   more powerful code generation, there is a [new chapter available][proc-macros]
   in Rust Programming Language book that goes further in depth.
 - [You can now use keywords as identifiers using the raw identifiers
-  syntax (`r#`).][53236] e.g. `let r#bool = true;`
+  syntax (`r#`).][53236] e.g. `let r#for = true;`
 - [Using anonymous parameters in traits is now deprecated with a warning and
   will be a hard error in the 2018 edition.][53272]
 - [You can now use `crate` in paths.][54404] This allows you to refer to the