Removed @self and @Trait.
This commit is contained in:
parent
c13a929d58
commit
b2d30b72bf
122 changed files with 627 additions and 1694 deletions
|
|
@ -404,7 +404,6 @@ pub enum SelfTy {
|
|||
SelfStatic,
|
||||
SelfValue,
|
||||
SelfBorrowed(Option<Lifetime>, Mutability),
|
||||
SelfManaged,
|
||||
SelfOwned,
|
||||
}
|
||||
|
||||
|
|
@ -415,7 +414,6 @@ impl Clean<SelfTy> for ast::ExplicitSelf {
|
|||
ast::SelfValue => SelfValue,
|
||||
ast::SelfUniq => SelfOwned,
|
||||
ast::SelfRegion(lt, mt) => SelfBorrowed(lt.clean(), mt.clean()),
|
||||
ast::SelfBox => SelfManaged,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue