mirror of https://github.com/rust-lang/rust.git
Fix documentation typo.
This commit is contained in:
parent
82c052794d
commit
4755441fd4
|
@ -4779,7 +4779,7 @@ impl<'a> Parser<'a> {
|
|||
let span = self.span;
|
||||
self.span_warn(span,
|
||||
format!("this extern crate syntax is deprecated. \
|
||||
Use: extern create \"{}\" as {};",
|
||||
Use: extern crate \"{}\" as {};",
|
||||
the_ident.as_str(), path.ref0().get() ).as_slice()
|
||||
);
|
||||
Some(path)
|
||||
|
|
Loading…
Reference in New Issue