Remove useless borrows and derefs
This commit is contained in:
parent
9c0bc3028a
commit
f2b97a8bfe
41 changed files with 145 additions and 146 deletions
|
@ -165,7 +165,7 @@ impl<'sm> CachingSourceMapView<'sm> {
|
|||
Some(new_file_and_idx)
|
||||
} else {
|
||||
let file = &self.line_cache[oldest].file;
|
||||
if !file_contains(&file, span_data.hi) {
|
||||
if !file_contains(file, span_data.hi) {
|
||||
return None;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue