Skip to content

Commit b07313a

Browse files
committed
chore: format code
1 parent 9203d91 commit b07313a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler/rustc_session/src/search_paths.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ impl FilesIndex {
2626
suffix: &'suffix str,
2727
) -> Option<impl Iterator<Item = (String, &'this SearchPathFile)> + use<'this, 'prefix, 'suffix>>
2828
{
29-
let start = self.0.partition_point(|(k, _)| {
30-
**k < *prefix
31-
});
29+
let start = self.0.partition_point(|(k, _)| **k < *prefix);
3230
if start == self.0.len() {
3331
return None;
3432
}

0 commit comments

Comments
 (0)