Skip to content

Commit

Permalink
fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
amodm committed Apr 22, 2022
1 parent edc9984 commit 0b750c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,12 @@ impl BrowserOptions {
Self::default()
}

pub fn with_suppress_output<'a>(&'a mut self, suppress_output: bool) -> &'a mut Self {
pub fn with_suppress_output(&mut self, suppress_output: bool) -> &mut Self {
self.suppress_output = suppress_output;
self
}

pub fn with_target_hint<'a>(&'a mut self, target_hint: &str) -> &'a mut Self {
pub fn with_target_hint(&mut self, target_hint: &str) -> &mut Self {
self.target_hint = target_hint.to_owned();
self
}
Expand Down

0 comments on commit 0b750c2

Please sign in to comment.