style: format suggest method for improved readability
This commit is contained in:
+5
-1
@@ -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),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user