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
35
35
the token stream, and then execute the parser to get a ` Crate ` (the root AST
36
36
node).
37
37
38
- To minimise the amount of copying that is done,
38
+ To minimize the amount of copying that is done,
39
39
both [ ` StringReader ` ] and [ ` Parser ` ] have lifetimes which bind them to the parent ` ParseSess ` .
40
40
This contains all the information needed while parsing,
41
41
as well as the [ ` SourceMap ` ] itself.
@@ -65,7 +65,7 @@ Code for lexical analysis is split between two crates:
65
65
[ rustc_parse ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/index.html
66
66
[ parser_lib ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/index.html
67
67
[ 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
69
69
[ `StringReader` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/lexer/struct.StringReader.html
70
70
[ visit module ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/visit/index.html
71
71
[ sourcefile ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/struct.SourceFile.html
0 commit comments