We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ac85a4d + 8b05998 commit ae46b9eCopy full SHA for ae46b9e
compiler/rustc_parse/src/lib.rs
@@ -109,7 +109,7 @@ pub fn maybe_new_parser_from_source_str(
109
}
110
111
/// 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.
+/// If a span is given, that is used on an error as the source of the problem.
113
pub fn new_parser_from_file<'a>(sess: &'a ParseSess, path: &Path, sp: Option<Span>) -> Parser<'a> {
114
source_file_to_parser(sess, file_to_source_file(sess, path, sp))
115
0 commit comments