1
0
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:
Rob Ede 2024-09-12 15:06:22 -04:00
parent 3c640ec120
commit a89d3a58bc
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -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,