Rollup merge of #108272 - MrNossiom:master, r=thomcc
docs: wrong naming convention in struct keyword doc Noticed that the naming convention mentioned is not the right one. As far as I know, PacalCase is the naming convention used for structs names. PacalCase is not the same as camelCase
This commit is contained in:
commit
7dcf7fe737
1 changed files with 1 additions and 1 deletions
|
@ -1568,7 +1568,7 @@ mod static_keyword {}
|
|||
///
|
||||
/// # Style conventions
|
||||
///
|
||||
/// Structs are always written in CamelCase, with few exceptions. While the trailing comma on a
|
||||
/// Structs are always written in UpperCamelCase, with few exceptions. While the trailing comma on a
|
||||
/// struct's list of fields can be omitted, it's usually kept for convenience in adding and
|
||||
/// removing fields down the line.
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue