style: format suggest method for improved readability

This commit is contained in:
Manuel Raimann
2026-01-31 11:45:58 +01:00
parent 6363540269
commit 24e921b7b9
+5 -1
View File
@@ -60,7 +60,11 @@ impl SuggestableRange for Range<i64> {
fn suggest(self, trial: &mut Trial, name: String) -> Result<i64> {
// Range is exclusive on the end, so subtract 1
trial.suggest_int(name, self.start, self.end.checked_sub(1).unwrap_or(self.end))
trial.suggest_int(
name,
self.start,
self.end.checked_sub(1).unwrap_or(self.end),
)
}
}