diff options
| author | bors <bors@rust-lang.org> | 2015-04-30 17:07:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-30 17:07:14 +0000 |
| commit | 2568a4d8c57d184326ee6974c0a769bbb93c1b22 (patch) | |
| tree | ad8bf2350e49ca97f4bebe87d631b99b8b2f6c6c /src/doc/reference.md | |
| parent | 2f613bfaeb81ce25b116835a5f09750384b888c7 (diff) | |
| parent | 0ddee94cfeec045d23be3ce98d06b2f3f774a134 (diff) | |
| download | rust-2568a4d8c57d184326ee6974c0a769bbb93c1b22.tar.gz rust-2568a4d8c57d184326ee6974c0a769bbb93c1b22.zip | |
Auto merge of #24924 - carols10cents:grammar-improvements, r=pnkfelix
I'm interested in helping out with #16676 but more in the grammar than the reference-- here's my first chunk, more to come!! :tada: I did pull a bit *out* of the reference, though, that was more relevant to the grammar but wasn't moved over as part of #24729. I'm looking at, e.g. https://github.com/rust-lang/rust/blob/master/src/libsyntax/ast.rs, as the source of truth, please let me know if I should be checking against something else instead/in addition. r? @steveklabnik
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 19cbd6f90a5..4485704c3d5 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -130,11 +130,6 @@ of tokens, that immediately and directly denotes the value it evaluates to, rather than referring to it by name or some other evaluation rule. A literal is a form of constant expression, so is evaluated (primarily) at compile time. -The optional suffix is only used for certain numeric literals, but is -reserved for future extension, that is, the above gives the lexical -grammar, but a Rust parser will reject everything but the 12 special -cases mentioned in [Number literals](#number-literals) below. - #### Examples ##### Characters and strings |
