Skip to content

Commit f9b3aeb

Browse files
authored
Merge pull request #1000 from Manishearth/doc_whitelist
added GPLv{2,3} to doc-valid-idents
2 parents 4f3d142 + 8756ae5 commit f9b3aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/conf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ define_Conf! {
151151
/// Lint: CYCLOMATIC_COMPLEXITY. The maximum cyclomatic complexity a function can have
152152
("cyclomatic-complexity-threshold", cyclomatic_complexity_threshold, 25 => u64),
153153
/// Lint: DOC_MARKDOWN. The list of words this lint should not consider as identifiers needing ticks
154-
("doc-valid-idents", doc_valid_idents, ["MiB", "GiB", "TiB", "PiB", "EiB", "GitHub", "NaN"] => Vec<String>),
154+
("doc-valid-idents", doc_valid_idents, ["MiB", "GiB", "TiB", "PiB", "EiB", "GitHub", "NaN", "GPLv2", "GPLv3"] => Vec<String>),
155155
/// Lint: TOO_MANY_ARGUMENTS. The maximum number of argument a function or method can have
156156
("too-many-arguments-threshold", too_many_arguments_threshold, 7 => u64),
157157
/// Lint: TYPE_COMPLEXITY. The maximum complexity a type can have

0 commit comments

Comments
 (0)