mirror of
https://github.com/typst/typst
synced 2025-06-28 08:12:53 +08:00
Replace out-of-date ref keyword ♻
This commit is contained in:
parent
5255066d53
commit
fe957ccdcd
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user