mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-27 09:12:57 +01:00
refactor: fix nightly warning
This commit is contained in:
parent
3c640ec120
commit
a89d3a58bc
@ -12,8 +12,8 @@ struct Quoted<'a> {
|
|||||||
state: State,
|
state: State,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Quoted<'a> {
|
impl Quoted<'_> {
|
||||||
pub fn new(s: &'a str) -> Quoted<'_> {
|
pub fn new(s: &str) -> Quoted<'_> {
|
||||||
Quoted {
|
Quoted {
|
||||||
inner: s.split('"').peekable(),
|
inner: s.split('"').peekable(),
|
||||||
state: State::YieldStr,
|
state: State::YieldStr,
|
||||||
|
Loading…
Reference in New Issue
Block a user