Skip to content

Commit e447efd

Browse files
committed
ref: cargo clippy
1 parent a78d091 commit e447efd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/flow_definition/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ fn load_json_dir<T: DeserializeOwned>(
279279
.is_some_and(|ext| ext.eq_ignore_ascii_case("json"))
280280
})
281281
{
282-
match read_json_file::<T>(&file.as_path()) {
282+
match read_json_file::<T>(file.as_path()) {
283283
Ok(item) => items.push(item),
284284
Err(err) if should_break => return Err(err),
285285
Err(err) => log::warn!("Skipping invalid definition {}: {:?}", file.display(), err),

0 commit comments

Comments
 (0)