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:
parent
3c640ec120
commit
a89d3a58bc
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user