1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 15:51:06 +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,
}
impl<'a> Quoted<'a> {
pub fn new(s: &'a str) -> Quoted<'_> {
impl Quoted<'_> {
pub fn new(s: &str) -> Quoted<'_> {
Quoted {
inner: s.split('"').peekable(),
state: State::YieldStr,