Fix documentation typo.
This commit is contained in:
parent
82c052794d
commit
4755441fd4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue