about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2021-05-17 18:37:06 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2021-05-17 18:37:06 +0300
commit41510f437e87e013f2015bed1a964163c6d3f1ff (patch)
treeead7add1ada64dfad8e819a32a5ea4ffa8c0cd60 /docs/dev
parentf9d4a9eaee6f86d9bd60cf6d18ec744b56696135 (diff)
downloadrust-41510f437e87e013f2015bed1a964163c6d3f1ff.tar.gz
rust-41510f437e87e013f2015bed1a964163c6d3f1ff.zip
minor: adjust config name
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/style.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/dev/style.md b/docs/dev/style.md
index f22b6976814..96dd684b32c 100644
--- a/docs/dev/style.md
+++ b/docs/dev/style.md
@@ -791,13 +791,14 @@ Many names in rust-analyzer conflict with keywords.
 We use mangled names instead of `r#ident` syntax:
 
 ```
-struct -> strukt
 crate  -> krate
-impl   -> imp
-trait  -> trait_
-fn     -> func
 enum   -> enum_
+fn     -> func
+impl   -> imp
 mod    -> module
+struct -> strukt
+trait  -> trait_
+type   -> ty
 ```
 
 **Rationale:** consistency.