diff options
| author | Nanami <12036195+yokodake@users.noreply.github.com> | 2020-09-10 11:56:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-10 11:56:11 +0200 |
| commit | 8b059980d71765270b637b2fce7f13f728ca24b4 (patch) | |
| tree | e6c7b760c9065fb426fbdd118e40d15dc43232bc /compiler/rustc_parse | |
| parent | 88197214b8a9099bb3da559a3bd7bf4867c10c5f (diff) | |
| download | rust-8b059980d71765270b637b2fce7f13f728ca24b4.tar.gz rust-8b059980d71765270b637b2fce7f13f728ca24b4.zip | |
small typo fix in rustc_parse docs
Diffstat (limited to 'compiler/rustc_parse')
| -rw-r--r-- | compiler/rustc_parse/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/lib.rs b/compiler/rustc_parse/src/lib.rs index 462279b0a9e..8e1e4c1b451 100644 --- a/compiler/rustc_parse/src/lib.rs +++ b/compiler/rustc_parse/src/lib.rs @@ -109,7 +109,7 @@ pub fn maybe_new_parser_from_source_str( } /// Creates a new parser, handling errors as appropriate if the file doesn't exist. -/// If a span is given, that is used on an error as the as the source of the problem. +/// If a span is given, that is used on an error as the source of the problem. pub fn new_parser_from_file<'a>(sess: &'a ParseSess, path: &Path, sp: Option<Span>) -> Parser<'a> { source_file_to_parser(sess, file_to_source_file(sess, path, sp)) } |
