Skip to content

Commit a89d3a5

Browse files
committed
refactor: fix nightly warning
1 parent 3c640ec commit a89d3a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actix-web-httpauth/src/utils.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ struct Quoted<'a> {
1212
state: State,
1313
}
1414

15-
impl<'a> Quoted<'a> {
16-
pub fn new(s: &'a str) -> Quoted<'_> {
15+
impl Quoted<'_> {
16+
pub fn new(s: &str) -> Quoted<'_> {
1717
Quoted {
1818
inner: s.split('"').peekable(),
1919
state: State::YieldStr,

0 commit comments

Comments
 (0)