Skip to content

Commit

Permalink
💩 disable clipply warning
Browse files Browse the repository at this point in the history
  • Loading branch information
davidB committed Jun 1, 2024
1 parent 5bbef3b commit 9d13061
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/json_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ impl DataFormat {
}
}

#[allow(clippy::result_large_err)]
fn json_query<T: Serialize, E: AsRef<str>>(expr: E, data: T) -> Result<Json, JsonError> {
// let data = data.to_jmespath();
let res = jmespath::compile(expr.as_ref())
Expand Down
1 change: 1 addition & 0 deletions src/jsonnet_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ enum JsonnetError {
EvaluateError { source_str: String },
}

#[allow(clippy::let_and_return)]
fn jsonnet_block<'reg, 'rc>(
h: &Helper<'rc>,
r: &'reg Handlebars,
Expand Down

0 comments on commit 9d13061

Please sign in to comment.