diff options
Diffstat (limited to 'docs/dev/style.md')
-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. |