Clippy-fix explicit auto-deref

Seems like these can be safely fixed. With one, I was particularly
surprised -- `Some(pats) => &**pats,` in body.rs?

```
cargo clippy --fix -- -A clippy::all -D clippy::explicit_auto_deref
```
This commit is contained in:
Yuri Astrakhan 2022-12-23 02:51:52 -05:00
parent f1785f7a21
commit e341e996f7
20 changed files with 22 additions and 22 deletions

View file

@ -40,7 +40,7 @@ impl ops::Deref for ManifestPath {
type Target = AbsPath;
fn deref(&self) -> &Self::Target {
&*self.file
&self.file
}
}