Cut down on macro nonsense
- InertAtomic replaced atomic_inert! for improved tooling support - atomic_defaults! is easier to type out than to explain in a docstring - Changed rustfmt config to better support tiny functions such as as_any
This commit is contained in:
@@ -57,9 +57,7 @@ impl<N: NameLike> Expr<N> {
|
||||
}
|
||||
|
||||
impl<N: NameLike> AsRef<Location> for Expr<N> {
|
||||
fn as_ref(&self) -> &Location {
|
||||
&self.location
|
||||
}
|
||||
fn as_ref(&self) -> &Location { &self.location }
|
||||
}
|
||||
|
||||
/// Visit all expression sequences including this sequence itself. Otherwise
|
||||
|
||||
Reference in New Issue
Block a user