File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ The main entrypoint to the parser is via the various `parse_*` functions and oth
3535the token stream, and then execute the parser to get a ` Crate ` (the root AST
3636node).
3737
38- To minimise the amount of copying that is done,
38+ To minimize the amount of copying that is done,
3939both [ ` StringReader ` ] and [ ` Parser ` ] have lifetimes which bind them to the parent ` ParseSess ` .
4040This contains all the information needed while parsing,
4141as well as the [ ` SourceMap ` ] itself.
@@ -65,7 +65,7 @@ Code for lexical analysis is split between two crates:
6565[ rustc_parse ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/index.html
6666[ parser_lib ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/index.html
6767[ parser ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/parser/index.html
68- [ `Parser` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/parse /parser/struct.Parser.html
68+ [ `Parser` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse /parser/struct.Parser.html
6969[ `StringReader` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/lexer/struct.StringReader.html
7070[ visit module ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/visit/index.html
7171[ sourcefile ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/struct.SourceFile.html
You can’t perform that action at this time.
0 commit comments