]> git.lizzy.rs Git - rust.git/commitdiff
Add "DirectX" and "OpenGL" to `doc_valid_idents`
authormcarton <cartonmartin+git@gmail.com>
Wed, 17 Aug 2016 13:42:02 +0000 (15:42 +0200)
committermcarton <cartonmartin+git@gmail.com>
Wed, 17 Aug 2016 13:46:33 +0000 (15:46 +0200)
clippy_lints/src/utils/conf.rs

index 07be9f7f5bc2a95dc1f9d09269c10585f87e2d0c..033e2ea82c1307fdf58b3701852bafd537180b27 100644 (file)
@@ -151,7 +151,7 @@ fn set(&mut self, name: String, value: toml::Value) -> Result<(), Error> {
     /// Lint: CYCLOMATIC_COMPLEXITY. The maximum cyclomatic complexity a function can have
     ("cyclomatic-complexity-threshold", cyclomatic_complexity_threshold, 25 => u64),
     /// Lint: DOC_MARKDOWN. The list of words this lint should not consider as identifiers needing ticks
-    ("doc-valid-idents", doc_valid_idents, ["MiB", "GiB", "TiB", "PiB", "EiB", "GitHub", "NaN", "GPLv2", "GPLv3", "JavaScript", "IPv4", "IPv6", "OAuth", "TrueType"] => Vec<String>),
+    ("doc-valid-idents", doc_valid_idents, ["MiB", "GiB", "TiB", "PiB", "EiB", "DirectX", "GPLv2", "GPLv3", "GitHub", "IPv4", "IPv6", "JavaScript", "NaN", "OAuth", "OpenGL", "TrueType"] => 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),
     /// Lint: TYPE_COMPLEXITY. The maximum complexity a type can have