9534: minor: one more usless type r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2021-07-08 14:19:06 +00:00 committed by GitHub
commit 552b50de9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -304,6 +304,7 @@ More generally, always prefer types on the left
&[T] &Vec<T> &[T] &Vec<T>
&str &String &str &String
Option<&T> &Option<T> Option<&T> &Option<T>
&Path &PathBuf
``` ```
**Rationale:** types on the left are strictly more general. **Rationale:** types on the left are strictly more general.