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:
@@ -40,13 +40,7 @@ impl<'a> Clone for ParsingContext<'a> {
|
||||
}
|
||||
|
||||
impl Context for ParsingContext<'_> {
|
||||
fn interner(&self) -> &Interner {
|
||||
self.interner
|
||||
}
|
||||
fn file(&self) -> Rc<VName> {
|
||||
self.file.clone()
|
||||
}
|
||||
fn ops(&self) -> &[Tok<String>] {
|
||||
self.ops
|
||||
}
|
||||
fn interner(&self) -> &Interner { self.interner }
|
||||
fn file(&self) -> Rc<VName> { self.file.clone() }
|
||||
fn ops(&self) -> &[Tok<String>] { self.ops }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user