Skip to content

Commit 79963a3

Browse files
committed
Clarifications
1 parent 9aa05d7 commit 79963a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

active/0000-conventions-galore.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ convention avoids grammatical verbosity and gives Rust code a distinctive flavor
159159

160160
This RFC proposes to amend the convention to further say: if there is a single
161161
method that is the dominant functionality of the trait, consider using the same
162-
name for the trait itself. This is already the case for `Clone` and `Show`, for
163-
example.
162+
name for the trait itself. This is already the case for `Clone` and `ToCStr`,
163+
for example.
164164

165165
According to these rules, `Encodable` should be `Encode`.
166166

@@ -186,7 +186,7 @@ This RFC proposes that:
186186
the plural form: use `unused_variables` rather than `unused_variable`.
187187
This makes `#[allow(unused_variables)]` read correctly.
188188

189-
* Use underscores to separate words in the same way you would for function names.
189+
* Use snake case in the same way you would for function names.
190190

191191
## Suffix ordering
192192

0 commit comments

Comments
 (0)