Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouaix committed Jul 2, 2024
1 parent 7ac6c8a commit 1828910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scnr_core/src/jq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ impl JqFilter {
Ok(Self::from_filter(filter))
}

#[must_use]
pub fn from_filter(filter: Filter) -> Self {
let mut ctx = make_default_context();
let owned = ctx.compile(filter);
Expand Down
1 change: 1 addition & 0 deletions scnr_sqlite/src/sqlite_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ impl IntoDisplayable for types::Value {
}
}

#[allow(dead_code)]
pub trait GetToString {
fn get_to_string(&self, idx: usize) -> Result<Option<String>>;
}
Expand Down

0 comments on commit 1828910

Please sign in to comment.