diff options
Diffstat (limited to 'src/libsyntax/ast.rs')
| -rw-r--r-- | src/libsyntax/ast.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index ef348e52f6e..b7a924d44e0 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -960,10 +960,10 @@ pub enum RetStyle { #[deriving(Clone, Eq, Encodable, Decodable, IterBytes)] pub enum ExplicitSelf_ { SelfStatic, // no self - SelfValue(Mutability), // `self` - SelfRegion(Option<Lifetime>, Mutability), // `&'lt self` - SelfBox(Mutability), // `@self` - SelfUniq(Mutability) // `~self` + SelfValue(Mutability), // `self`, `mut self` + SelfRegion(Option<Lifetime>, Mutability), // `&'lt self`, `&'lt mut self` + SelfBox, // `@self` + SelfUniq(Mutability) // `~self`, `mut ~self` } pub type ExplicitSelf = Spanned<ExplicitSelf_>; |
