Skip to content

Commit

Permalink
refactor: fix nightly warning
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Sep 12, 2024
1 parent 3c640ec commit a89d3a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actix-web-httpauth/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a89d3a5

Please sign in to comment.