Skip to content

Commit 706bd1c

Browse files
committed
minor: one more usless type
1 parent f5a100e commit 706bd1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/dev/style.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ More generally, always prefer types on the left
304304
&[T] &Vec<T>
305305
&str &String
306306
Option<&T> &Option<T>
307+
&Path &PathBuf
307308
```
308309

309310
**Rationale:** types on the left are strictly more general.

0 commit comments

Comments
 (0)