minor: one more usless type
This commit is contained in:
parent
f5a100e5fd
commit
706bd1c35d
@ -304,6 +304,7 @@ More generally, always prefer types on the left
|
||||
&[T] &Vec<T>
|
||||
&str &String
|
||||
Option<&T> &Option<T>
|
||||
&Path &PathBuf
|
||||
```
|
||||
|
||||
**Rationale:** types on the left are strictly more general.
|
||||
|
Loading…
Reference in New Issue
Block a user