about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2023-06-22 13:01:45 -0700
committerJosh Triplett <josh@joshtriplett.org>2023-06-22 13:02:24 -0700
commitc5f8b2c7a92bc542c0c2666dc4672493cf945982 (patch)
treeaf4376bfcecbb9ad95873fd0bdc12df10619d25a
parentd270af31972b2673ef0b05a5749a49f8a68a3d2b (diff)
downloadrust-c5f8b2c7a92bc542c0c2666dc4672493cf945982.tar.gz
rust-c5f8b2c7a92bc542c0c2666dc4672493cf945982.zip
style-guide: Define (and capitalize) "ASCIIbetically"
The style guide didn't give any definition for it.
-rw-r--r--src/doc/style-guide/src/items.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/style-guide/src/items.md b/src/doc/style-guide/src/items.md
index 06ee4e28ccb..f1f5344f3e2 100644
--- a/src/doc/style-guide/src/items.md
+++ b/src/doc/style-guide/src/items.md
@@ -478,8 +478,8 @@ foo::{
 A *group* of imports is a set of imports on the same or sequential lines. One or
 more blank lines or other items (e.g., a function) separate groups of imports.
 
-Within a group of imports, imports must be sorted ascii-betically. Groups of
-imports must not be merged or re-ordered.
+Within a group of imports, imports must be sorted ASCIIbetically (uppercase
+before lowercase). Groups of imports must not be merged or re-ordered.
 
 
 E.g., input:
@@ -507,7 +507,7 @@ re-ordering.
 
 #### Ordering list import
 
-Names in a list import must be sorted ascii-betically, but with `self` and
+Names in a list import must be sorted ASCIIbetically, but with `self` and
 `super` first, and groups and glob imports last. This applies recursively. For
 example, `a::*` comes before `b::a` but `a::b` comes before `a::*`. E.g.,
 `use foo::bar::{a, b::c, b::d, b::d::{x, y, z}, b::{self, r, s}};`.