Cleanup source formatting
This commit is contained in:
parent
716ad3e4e9
commit
3626e2c994
|
@ -25,7 +25,7 @@ mod tests {
|
|||
fn $name() {
|
||||
parse_with::<$parser>(include_str!($file));
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
macro_rules! test_parser {
|
||||
|
|
|
@ -74,7 +74,11 @@ impl<'a> RecursiveDescent<'a> {
|
|||
Definition::Struct { name, members }
|
||||
}
|
||||
|
||||
pub fn build_fn(&mut self, mutable: bool, associated_struct: Option<&'a str>) -> Definition<'a> {
|
||||
pub fn build_fn(
|
||||
&mut self,
|
||||
mutable: bool,
|
||||
associated_struct: Option<&'a str>,
|
||||
) -> Definition<'a> {
|
||||
let implementation = self.build_fn_impl(mutable);
|
||||
|
||||
Definition::Function {
|
||||
|
|
Loading…
Reference in New Issue