Skip to content

Commit

Permalink
Auto merge of #3533 - phansch:add_to_doc_valid_idents, r=phansch
Browse files Browse the repository at this point in the history
Add 'CamelCase' to doc_valid_idents

Fixes #2395
  • Loading branch information
bors committed Dec 12, 2018
2 parents e2608fc + ee2abc3 commit f26c39b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions clippy_lints/src/utils/conf.rs
Expand Up @@ -137,6 +137,7 @@ define_Conf! {
"iOS", "macOS",
"TeX", "LaTeX", "BibTeX", "BibLaTeX",
"MinGW",
"CamelCase",
] => Vec<String>),
/// 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),
Expand Down
3 changes: 3 additions & 0 deletions tests/ui/doc.rs
Expand Up @@ -174,3 +174,6 @@ fn issue_1920() {}
/// Not ok: http://www.unicode.org/
/// Not ok: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels
fn issue_1832() {}

/// Ok: CamelCase (It should not be surrounded by backticks)
fn issue_2395() {}

0 comments on commit f26c39b

Please sign in to comment.