diff options
author | Aleksey Kladov <[email protected]> | 2021-05-17 16:37:06 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-05-17 16:37:06 +0100 |
commit | 41510f437e87e013f2015bed1a964163c6d3f1ff (patch) | |
tree | ead7add1ada64dfad8e819a32a5ea4ffa8c0cd60 /docs/dev | |
parent | f9d4a9eaee6f86d9bd60cf6d18ec744b56696135 (diff) |
minor: adjust config name
Diffstat (limited to 'docs/dev')
-rw-r--r-- | docs/dev/style.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/dev/style.md b/docs/dev/style.md index f22b69768..96dd684b3 100644 --- a/docs/dev/style.md +++ b/docs/dev/style.md | |||
@@ -791,13 +791,14 @@ Many names in rust-analyzer conflict with keywords. | |||
791 | We use mangled names instead of `r#ident` syntax: | 791 | We use mangled names instead of `r#ident` syntax: |
792 | 792 | ||
793 | ``` | 793 | ``` |
794 | struct -> strukt | ||
795 | crate -> krate | 794 | crate -> krate |
796 | impl -> imp | ||
797 | trait -> trait_ | ||
798 | fn -> func | ||
799 | enum -> enum_ | 795 | enum -> enum_ |
796 | fn -> func | ||
797 | impl -> imp | ||
800 | mod -> module | 798 | mod -> module |
799 | struct -> strukt | ||
800 | trait -> trait_ | ||
801 | type -> ty | ||
801 | ``` | 802 | ``` |
802 | 803 | ||
803 | **Rationale:** consistency. | 804 | **Rationale:** consistency. |