diff options
author | Georges Racinet <gracinet@anybox.fr> | 2016-02-20 18:41:23 +0100 |
---|---|---|
committer | Georges Racinet <gracinet@anybox.fr> | 2016-02-20 18:41:23 +0100 |
commit | 0cb9d2c3987fae3119f59b7c3ef74f9596f355e2 (patch) | |
tree | 0282ab8afa9d8725f1d293e5493cc85f6c01ab4c | |
parent | f1b299799156cb46a59055ab8174d6de6ef37a81 (diff) |
Explicit lifetime has become useless
-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() { |