From 724059569b4c775ee4723640e0eaabe0da7cdeaf Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 20 Jan 2021 14:30:50 +0300 Subject: Don't show runnable suggestions for other files It't be actually great to have these once we have run anything dialog, but for run the thing at point it makes sense to show a limited set. --- docs/dev/style.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/dev/style.md') diff --git a/docs/dev/style.md b/docs/dev/style.md index 21330948b..aed15cee9 100644 --- a/docs/dev/style.md +++ b/docs/dev/style.md @@ -280,6 +280,9 @@ Prefer `Default` even it has to be implemented manually. **Rationale:** less typing in the common case, uniformity. +Use `Vec::new` rather than `vec![]`. **Rationale:** uniformity, strength +reduction. + ## Functions Over Objects Avoid creating "doer" objects. -- cgit v1.2.3