Skip to content

Commit

Permalink
🚨 Fix lint wornings
Browse files Browse the repository at this point in the history
  • Loading branch information
harehare committed Nov 18, 2024
1 parent a99d13d commit c7f5943
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl Cli {

let has_stdin = stdin.is_some();
let conditions: Result<Vec<SearchCondition>> =
self.query.as_ref().map(|s| parse(&s)).unwrap_or(Ok(vec![]));
self.query.as_ref().map(|s| parse(s)).unwrap_or(Ok(vec![]));
let mut app = match conditions {
Ok(c) => App::new(
SearchConfig {
Expand Down
2 changes: 1 addition & 1 deletion src/models/line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl Line {
line_no: self.line_no,
text: self.text.clone(),
matches: self.matches.clone(),
filtered: filtered,
filtered,
}
}

Expand Down

0 comments on commit c7f5943

Please sign in to comment.