diff options
author | Aleksey Kladov <[email protected]> | 2021-01-20 11:30:50 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-20 11:30:50 +0000 |
commit | 724059569b4c775ee4723640e0eaabe0da7cdeaf (patch) | |
tree | f770da961fcdc3e17d8c8e622cbc4e34c5ef91e2 /docs/dev | |
parent | 3429b32ad119756985e1a7bfa5e9e53042671f8b (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.md | 3 |
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 | ||
283 | Use `Vec::new` rather than `vec![]`. **Rationale:** uniformity, strength | ||
284 | reduction. | ||
285 | |||
283 | ## Functions Over Objects | 286 | ## Functions Over Objects |
284 | 287 | ||
285 | Avoid creating "doer" objects. | 288 | Avoid creating "doer" objects. |