diff --git a/docs/dev/style.md b/docs/dev/style.md index f83b99ca6b..696a175a84 100644 --- a/docs/dev/style.md +++ b/docs/dev/style.md @@ -304,6 +304,7 @@ More generally, always prefer types on the left &[T] &Vec &str &String Option<&T> &Option +&Path &PathBuf ``` **Rationale:** types on the left are strictly more general.