Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
osiewicz committed Nov 14, 2024
1 parent 9203d91 commit b07313a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions compiler/rustc_session/src/search_paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ impl FilesIndex {
suffix: &'suffix str,
) -> Option<impl Iterator<Item = (String, &'this SearchPathFile)> + use<'this, 'prefix, 'suffix>>
{
let start = self.0.partition_point(|(k, _)| {
**k < *prefix
});
let start = self.0.partition_point(|(k, _)| **k < *prefix);
if start == self.0.len() {
return None;
}
Expand Down

0 comments on commit b07313a

Please sign in to comment.