Replace out-of-date ref keyword ♻

This commit is contained in:
Laurenz 2019-02-23 14:35:20 +01:00
parent 5255066d53
commit fe957ccdcd

View File

@ -108,7 +108,7 @@ impl<'s> Iterator for Tokens<'s> {
use TokensState as TS; use TokensState as TS;
// Return the remaining words and double underscores. // 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 { loop {
if let Some(splined) = splinor.next() { if let Some(splined) = splinor.next() {
return Some(match splined { return Some(match splined {