aboutsummaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-01-20 11:30:50 +0000
committerAleksey Kladov <[email protected]>2021-01-20 11:30:50 +0000
commit724059569b4c775ee4723640e0eaabe0da7cdeaf (patch)
treef770da961fcdc3e17d8c8e622cbc4e34c5ef91e2 /docs/dev
parent3429b32ad119756985e1a7bfa5e9e53042671f8b (diff)
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.
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/style.md3
1 files changed, 3 insertions, 0 deletions
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.
280 280
281**Rationale:** less typing in the common case, uniformity. 281**Rationale:** less typing in the common case, uniformity.
282 282
283Use `Vec::new` rather than `vec![]`. **Rationale:** uniformity, strength
284reduction.
285
283## Functions Over Objects 286## Functions Over Objects
284 287
285Avoid creating "doer" objects. 288Avoid creating "doer" objects.