1
Fork 0

Make rustdoc display extern crate statements correctly

This commit is contained in:
P1start 2014-11-22 19:07:54 +13:00
parent 2f0249b3a8
commit 6b5655cb84
2 changed files with 8 additions and 6 deletions

View file

@ -1923,7 +1923,7 @@ impl Clean<ViewItemInner> for ast::ViewItem_ {
#[deriving(Clone, Encodable, Decodable)]
pub enum ViewPath {
// use str = source;
// use source as str;
SimpleImport(String, ImportSource),
// use source::*;
GlobImport(ImportSource),