File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,8 +159,8 @@ convention avoids grammatical verbosity and gives Rust code a distinctive flavor
159
159
160
160
This RFC proposes to amend the convention to further say: if there is a single
161
161
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.
164
164
165
165
According to these rules, ` Encodable ` should be ` Encode ` .
166
166
@@ -186,7 +186,7 @@ This RFC proposes that:
186
186
the plural form: use ` unused_variables ` rather than ` unused_variable ` .
187
187
This makes ` #[allow(unused_variables)] ` read correctly.
188
188
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.
190
190
191
191
## Suffix ordering
192
192
You can’t perform that action at this time.
0 commit comments