Skip to content

Commit 4755441

Browse files
committed
Fix documentation typo.
1 parent 82c0527 commit 4755441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4779,7 +4779,7 @@ impl<'a> Parser<'a> {
47794779
let span = self.span;
47804780
self.span_warn(span,
47814781
format!("this extern crate syntax is deprecated. \
4782-
Use: extern create \"{}\" as {};",
4782+
Use: extern crate \"{}\" as {};",
47834783
the_ident.as_str(), path.ref0().get() ).as_slice()
47844784
);
47854785
Some(path)

0 commit comments

Comments
 (0)