1
Fork 0

Fix documentation typo.

This commit is contained in:
jamesluke 2014-09-05 16:03:58 -07:00
parent 82c052794d
commit 4755441fd4

View file

@ -4779,7 +4779,7 @@ impl<'a> Parser<'a> {
let span = self.span; let span = self.span;
self.span_warn(span, self.span_warn(span,
format!("this extern crate syntax is deprecated. \ format!("this extern crate syntax is deprecated. \
Use: extern create \"{}\" as {};", Use: extern crate \"{}\" as {};",
the_ident.as_str(), path.ref0().get() ).as_slice() the_ident.as_str(), path.ref0().get() ).as_slice()
); );
Some(path) Some(path)