From 706bd1c35d065b0013641c8870582b68e740ef8b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 8 Jul 2021 17:18:44 +0300 Subject: [PATCH] minor: one more usless type --- docs/dev/style.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/dev/style.md b/docs/dev/style.md index f83b99ca6b5..696a175a847 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.