Fixed lifetime mutability
This commit is contained in:
+2
-2
@@ -61,13 +61,13 @@ impl From<pest::iterators::Pair<'_, Rule>> for TypePostfix {
|
||||
if let Some(lifetime) = lifetime {
|
||||
TypePostfix::RefMutLifetime(lifetime)
|
||||
} else {
|
||||
TypePostfix::Ref
|
||||
TypePostfix::RefMut
|
||||
}
|
||||
} else {
|
||||
if let Some(lifetime) = lifetime {
|
||||
TypePostfix::RefLifetime(lifetime)
|
||||
} else {
|
||||
TypePostfix::RefMut
|
||||
TypePostfix::Ref
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user