about summary refs log tree commit diff
path: root/compiler/rustc_parse
diff options
context:
space:
mode:
authorNanami <12036195+yokodake@users.noreply.github.com>2020-09-10 11:56:11 +0200
committerGitHub <noreply@github.com>2020-09-10 11:56:11 +0200
commit8b059980d71765270b637b2fce7f13f728ca24b4 (patch)
treee6c7b760c9065fb426fbdd118e40d15dc43232bc /compiler/rustc_parse
parent88197214b8a9099bb3da559a3bd7bf4867c10c5f (diff)
downloadrust-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.rs2
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))
 }