Skip to content

Commit 8b05998

Browse files
authored
small typo fix in rustc_parse docs
1 parent 8819721 commit 8b05998

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_parse/src

1 file changed

+1
-1
lines changed

compiler/rustc_parse/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pub fn maybe_new_parser_from_source_str(
109109
}
110110

111111
/// Creates a new parser, handling errors as appropriate if the file doesn't exist.
112-
/// If a span is given, that is used on an error as the as the source of the problem.
112+
/// If a span is given, that is used on an error as the source of the problem.
113113
pub fn new_parser_from_file<'a>(sess: &'a ParseSess, path: &Path, sp: Option<Span>) -> Parser<'a> {
114114
source_file_to_parser(sess, file_to_source_file(sess, path, sp))
115115
}

0 commit comments

Comments
 (0)