diff --git a/scnr_core/src/jq.rs b/scnr_core/src/jq.rs index b2d53da..60da8c3 100644 --- a/scnr_core/src/jq.rs +++ b/scnr_core/src/jq.rs @@ -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); diff --git a/scnr_sqlite/src/sqlite_ext.rs b/scnr_sqlite/src/sqlite_ext.rs index ac6032b..bb2edef 100644 --- a/scnr_sqlite/src/sqlite_ext.rs +++ b/scnr_sqlite/src/sqlite_ext.rs @@ -87,6 +87,7 @@ impl IntoDisplayable for types::Value { } } +#[allow(dead_code)] pub trait GetToString { fn get_to_string(&self, idx: usize) -> Result>; }