diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vobject/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vobject/lib.rs b/src/vobject/lib.rs index b66e73f..04ce8e3 100644 --- a/src/vobject/lib.rs +++ b/src/vobject/lib.rs @@ -231,7 +231,7 @@ impl<'s> Parser<'s> { // implementation detail : instead of pushing char after char, we // do it by the biggest contiguous slices possible, because I believe it // to be more efficient (less checks for reallocation etc). - fn consume_while<'a, F: Fn(char) -> bool>(&'a mut self, test: F) -> String { + fn consume_while<F: Fn(char) -> bool>(&mut self, test: F) -> String { let mut sl_start_pos = self.pos; let mut res = String::new(); while !self.eof() { |