librustc: Remove @mut support from the parser
This commit is contained in:
parent
88281290ff
commit
82a09b9a04
20 changed files with 52 additions and 81 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue