diff options
author | Aleksey Kladov <[email protected]> | 2020-12-10 14:41:57 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-10 14:51:56 +0000 |
commit | 17f236c2b041de7abd8ec3be208b8eff75fd7ffb (patch) | |
tree | 164ef144e07ed4f24c751355b735169878468789 /docs/dev | |
parent | 1341a98f0551edf3a445c40507ab1abb3d7c71bb (diff) |
Normalize spelling to American English
Diffstat (limited to 'docs/dev')
-rw-r--r-- | docs/dev/style.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/dev/style.md b/docs/dev/style.md index 1a952197f..c8d943142 100644 --- a/docs/dev/style.md +++ b/docs/dev/style.md | |||
@@ -514,6 +514,7 @@ impl Parent { | |||
514 | Use boring and long names for local variables ([yay code completion](https://github.com/rust-analyzer/rust-analyzer/pull/4162#discussion_r417130973)). | 514 | Use boring and long names for local variables ([yay code completion](https://github.com/rust-analyzer/rust-analyzer/pull/4162#discussion_r417130973)). |
515 | The default name is a lowercased name of the type: `global_state: GlobalState`. | 515 | The default name is a lowercased name of the type: `global_state: GlobalState`. |
516 | Avoid ad-hoc acronyms and contractions, but use the ones that exist consistently (`db`, `ctx`, `acc`). | 516 | Avoid ad-hoc acronyms and contractions, but use the ones that exist consistently (`db`, `ctx`, `acc`). |
517 | Prefer American spelling (color, behavior). | ||
517 | 518 | ||
518 | Default names: | 519 | Default names: |
519 | 520 | ||