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:
Dylan DPC 2023-02-21 14:20:00 +05:30 committed by GitHub
commit 7dcf7fe737
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.
///