minor: one more usless type

This commit is contained in:
Aleksey Kladov 2021-07-08 17:18:44 +03:00
parent f5a100e5fd
commit 706bd1c35d

View file

@ -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.