Skip to content

Commit 4f6f9be

Browse files
committed
Replace deprecated function
1 parent e9cec22 commit 4f6f9be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tokenizer.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
use std::borrow::Cow;
22
use unicode_categories::UnicodeCategories;
33
use winnow::ascii::{digit0, digit1, till_line_ending, Caseless};
4-
use winnow::combinator::{alt, dispatch, eof, fail, opt, peek, rest, terminated};
4+
use winnow::combinator::{alt, dispatch, eof, fail, opt, peek, terminated};
55
use winnow::error::ContextError;
66
use winnow::error::ErrMode;
77
use winnow::error::ErrorKind;
88
use winnow::error::ParserError as _;
99
use winnow::prelude::*;
1010
use winnow::stream::{ContainsToken as _, Stream as _};
11-
use winnow::token::{any, one_of, take, take_until, take_while};
11+
use winnow::token::{any, one_of, rest, take, take_until, take_while};
1212
use winnow::PResult;
1313

1414
pub(crate) fn tokenize(mut input: &str, named_placeholders: bool) -> Vec<Token<'_>> {

0 commit comments

Comments
 (0)