You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| General constructors |`new` or `with_more_details`|
@@ -24,11 +24,11 @@ traits) and `snake_case` for "value-level" constructs. More precisely:
24
24
| Local variables |`snake_case`|
25
25
| Statics |`SCREAMING_SNAKE_CASE`|
26
26
| Constants |`SCREAMING_SNAKE_CASE`|
27
-
| Type parameters | concise `CamelCase`, usually single uppercase letter: `T`|
27
+
| Type parameters | concise `PascalCase`, usually single uppercase letter: `T`|
28
28
| Lifetimes | short `lowercase`, usually a single letter: `'a`, `'de`, `'src`|
29
29
| Features |[unclear](https://github.com/rust-lang-nursery/api-guidelines/issues/101) but see [C-FEATURE]|
30
30
31
-
In `CamelCase`, acronyms and contractions of compound words count as one word: use `Uuid` rather than `UUID`, `Usize` rather than `USize` or `Stdin` rather than `StdIn`. In `snake_case`, acronyms and contractions are lower-cased: `is_xid_start`.
31
+
In `PascalCase`, acronyms and contractions of compound words count as one word: use `Uuid` rather than `UUID`, `Usize` rather than `USize` or `Stdin` rather than `StdIn`. In `snake_case`, acronyms and contractions are lower-cased: `is_xid_start`.
32
32
33
33
In `snake_case` or `SCREAMING_SNAKE_CASE`, a "word" should never consist of a
34
34
single letter unless it is the last "word". So, we have `btree_map` rather than
0 commit comments