forked from Orchid/orchid
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:
@@ -50,9 +50,7 @@ impl ProjectError for Error {
|
||||
_ => self.description().to_string(),
|
||||
}
|
||||
}
|
||||
fn one_position(&self) -> Location {
|
||||
self.location.clone()
|
||||
}
|
||||
fn one_position(&self) -> Location { self.location.clone() }
|
||||
}
|
||||
|
||||
/// Try to convert an expression from AST format to typed lambda
|
||||
@@ -73,9 +71,7 @@ impl<'a> Context<'a> {
|
||||
Context { names: self.names.push(name) }
|
||||
}
|
||||
|
||||
fn new() -> Context<'static> {
|
||||
Context { names: Substack::Bottom }
|
||||
}
|
||||
fn new() -> Context<'static> { Context { names: Substack::Bottom } }
|
||||
}
|
||||
|
||||
/// Process an expression sequence
|
||||
|
||||
Reference in New Issue
Block a user