diff options
| author | bstrie <ben.striegel@gmail.com> | 2018-05-16 01:16:01 +0000 |
|---|---|---|
| committer | bstrie <ben.striegel@gmail.com> | 2018-05-16 01:16:01 +0000 |
| commit | ab4735e2ea4b000c27fbd1aeb56019da4720f62c (patch) | |
| tree | 6f7344c87aeb79cf506535f1cb008497ca560d16 | |
| parent | f0fdaba04ea7474cd1f66264ef4edb3485a95864 (diff) | |
| download | rust-ab4735e2ea4b000c27fbd1aeb56019da4720f62c.tar.gz rust-ab4735e2ea4b000c27fbd1aeb56019da4720f62c.zip | |
Null exclusions in grammar docs
The grammar documentation incorrectly says that comments, character literals, and string literals may not include null.
| -rw-r--r-- | src/doc/grammar.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/grammar.md b/src/doc/grammar.md index 78432b6a965..3ba8b7ae687 100644 --- a/src/doc/grammar.md +++ b/src/doc/grammar.md @@ -121,9 +121,9 @@ that does _not_ occur in the set of [keywords](#keywords). Some productions are defined by exclusion of particular Unicode characters: - `non_null` is any single Unicode character aside from `U+0000` (null) -- `non_eol` is `non_null` restricted to exclude `U+000A` (`'\n'`) -- `non_single_quote` is `non_null` restricted to exclude `U+0027` (`'`) -- `non_double_quote` is `non_null` restricted to exclude `U+0022` (`"`) +- `non_eol` is any single Unicode character aside from `U+000A` (`'\n'`) +- `non_single_quote` is any single Unicode character aside from `U+0027` (`'`) +- `non_double_quote` is any single Unicode character aside from `U+0022` (`"`) ## Comments |
