mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Auto merge of #3533 - phansch:add_to_doc_valid_idents, r=phansch
Add 'CamelCase' to doc_valid_idents Fixes #2395
This commit is contained in:
commit
f26c39bab7
2 changed files with 4 additions and 0 deletions
|
@ -137,6 +137,7 @@ define_Conf! {
|
||||||
"iOS", "macOS",
|
"iOS", "macOS",
|
||||||
"TeX", "LaTeX", "BibTeX", "BibLaTeX",
|
"TeX", "LaTeX", "BibTeX", "BibLaTeX",
|
||||||
"MinGW",
|
"MinGW",
|
||||||
|
"CamelCase",
|
||||||
] => Vec<String>),
|
] => Vec<String>),
|
||||||
/// Lint: TOO_MANY_ARGUMENTS. The maximum number of argument a function or method can have
|
/// Lint: TOO_MANY_ARGUMENTS. The maximum number of argument a function or method can have
|
||||||
(too_many_arguments_threshold, "too_many_arguments_threshold", 7 => u64),
|
(too_many_arguments_threshold, "too_many_arguments_threshold", 7 => u64),
|
||||||
|
|
|
@ -174,3 +174,6 @@ fn issue_1920() {}
|
||||||
/// Not ok: http://www.unicode.org/
|
/// Not ok: http://www.unicode.org/
|
||||||
/// Not ok: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels
|
/// Not ok: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels
|
||||||
fn issue_1832() {}
|
fn issue_1832() {}
|
||||||
|
|
||||||
|
/// Ok: CamelCase (It should not be surrounded by backticks)
|
||||||
|
fn issue_2395() {}
|
||||||
|
|
Loading…
Reference in a new issue