Skip to content

Commit ab4d606

Browse files
committed
clippy suggestions
1 parent b51ad88 commit ab4d606

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/biome_json_analyze/src/lint/nursery/no_duplicate_dependencies.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl Rule for NoDuplicateDependencies {
107107
return DUPLICATE_PROPERTY_KEYS.contains(&text.text());
108108
}
109109
}
110-
return false;
110+
false
111111
});
112112

113113
// Loop through all the dependency groups to map all dependencies & check for duplicates within the same dependency group
@@ -219,7 +219,7 @@ impl Rule for NoDuplicateDependencies {
219219
}
220220
}
221221

222-
return None;
222+
None
223223
}
224224

225225
fn diagnostic(_ctx: &RuleContext<Self>, state: &Self::State) -> Option<RuleDiagnostic> {

0 commit comments

Comments
 (0)