Cleanup source formatting

This commit is contained in:
mars 2022-03-26 09:43:09 -06:00
parent 716ad3e4e9
commit 3626e2c994
2 changed files with 6 additions and 2 deletions

View File

@ -25,7 +25,7 @@ mod tests {
fn $name() {
parse_with::<$parser>(include_str!($file));
}
}
};
}
macro_rules! test_parser {

View File

@ -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 {