diff options
| author | Graydon Hoare <graydon@pobox.com> | 2015-04-17 19:52:29 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@pobox.com> | 2015-04-17 19:52:29 -0700 |
| commit | 7f2f09f1b49777cdc8683efe2ce4bdc6ded3603f (patch) | |
| tree | ea3e6c6a6a235e5171a15b659cc6e36d05978882 /src/doc/grammar.md | |
| parent | 21e2e6eec86e84eee765c91803f3488a21923a67 (diff) | |
| download | rust-7f2f09f1b49777cdc8683efe2ce4bdc6ded3603f.tar.gz rust-7f2f09f1b49777cdc8683efe2ce4bdc6ded3603f.zip | |
Eliminate the obsolete term 'slot'.
Diffstat (limited to 'src/doc/grammar.md')
| -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 1dec68211d4..3d9a5bafbd7 100644 --- a/src/doc/grammar.md +++ b/src/doc/grammar.md @@ -426,7 +426,7 @@ meta_seq : meta_item [ ',' meta_seq ] ? ; **FIXME:** grammar? A _declaration statement_ is one that introduces one or more *names* into the -enclosing statement block. The declared names may denote new slots or new +enclosing statement block. The declared names may denote new variables or new items. #### Item declarations @@ -440,7 +440,7 @@ function, enumeration, structure, type, static, trait, implementation or module scope to a narrow region containing all of its uses; it is otherwise identical in meaning to declaring the item outside the statement block. -#### Slot declarations +#### Variable declarations ```antlr let_decl : "let" pat [':' type ] ? [ init ] ? ';' ; @@ -762,7 +762,7 @@ bound := path | lifetime ### Memory ownership -### Memory slots +### Variables ### Boxes |
