]> git.lizzy.rs Git - rust.git/commitdiff
doc_markdown: Added "iOS" and "macOS" to the doc-valid-idents list
authorPatrick Horlebein <patrick@ilovepatrick.de>
Wed, 12 Oct 2016 13:22:21 +0000 (15:22 +0200)
committerMartin Carton <cartonmartin+github@gmail.com>
Wed, 12 Oct 2016 13:32:44 +0000 (15:32 +0200)
clippy_lints/src/utils/conf.rs

index f9a93ed3f6ee1fef1c83b0a83f852c8b94f3c145..59913fd711560da32b8300edbbd25fa96977442d 100644 (file)
@@ -166,7 +166,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", "DirectX", "GPLv2", "GPLv3", "GitHub", "IPv4", "IPv6", "JavaScript", "NaN", "OAuth", "OpenGL", "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", "iOS", "macOS"] => 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