librustc: Remove @mut support from the parser

This commit is contained in:
Patrick Walton
2013-12-31 12:55:39 -08:00
parent 88281290ff
commit 82a09b9a04
20 changed files with 52 additions and 81 deletions

View File

@@ -340,13 +340,7 @@ impl fmt::Default for clean::Type {
clean::Unit => f.buf.write("()".as_bytes()),
clean::Bottom => f.buf.write("!".as_bytes()),
clean::Unique(ref t) => write!(f.buf, "~{}", **t),
clean::Managed(m, ref t) => {
write!(f.buf, "@{}{}",
match m {
clean::Mutable => "mut ",
clean::Immutable => "",
}, **t)
}
clean::Managed(ref t) => write!(f.buf, "@{}", **t),
clean::RawPointer(m, ref t) => {
write!(f.buf, "*{}{}",
match m {