commit | c7f646a80e7af9a86da62b36783e0ae6fe94df1b | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Oct 16 10:54:39 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Oct 16 10:54:39 2016 -0700 |
tree | d630d64d3e917277e8fe8f3c90f82a027e6ebfbe | |
parent | 67420ae45eda152ff2ea8281ec810d7299643cc6 [diff] [blame] |
Run rustfmt
diff --git a/src/nom.rs b/src/nom.rs index a79eade..8586ff3 100644 --- a/src/nom.rs +++ b/src/nom.rs
@@ -158,7 +158,9 @@ }; } -pub fn many0<'a, T>(mut input: &'a str, f: fn(&'a str) -> IResult<&'a str, T>) -> IResult<&'a str, Vec<T>> { +pub fn many0<'a, T>(mut input: &'a str, + f: fn(&'a str) -> IResult<&'a str, T>) + -> IResult<&'a str, Vec<T>> { let mut res = Vec::new(); loop {