diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-02-23 14:35:20 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-02-23 14:35:20 +0100 |
| commit | fe957ccdcd08d16d9836fdfdb7f2b6616f332bb1 (patch) | |
| tree | 0c93cf7b5a7a311a2651edb4c95688f775182b74 /src/parsing.rs | |
| parent | 5255066d53ae14c8c936dcd7e879ae0fbb7b9f56 (diff) | |
Replace out-of-date ref keyword ♻
Diffstat (limited to 'src/parsing.rs')
| -rw-r--r-- | src/parsing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parsing.rs b/src/parsing.rs index 270d8551..feed55ce 100644 --- a/src/parsing.rs +++ b/src/parsing.rs @@ -108,7 +108,7 @@ impl<'s> Iterator for Tokens<'s> { use TokensState as TS; // Return the remaining words and double underscores. - if let TS::DoubleUnderscore(ref mut splinor) = self.state { + if let TS::DoubleUnderscore(splinor) = &mut self.state { loop { if let Some(splined) = splinor.next() { return Some(match splined { |
