Update clippy configuration

This commit is contained in:
Jonas Platte
2021-10-19 14:34:51 +02:00
parent e579735ebc
commit 1bb9298059
3 changed files with 6 additions and 7 deletions

View File

@@ -1,13 +1,10 @@
msrv = "1.53"
avoid-breaking-exported-api = false
disallowed-types = []
enforced-import-renames = [ { path = "serde_json::Value", rename = "JsonValue" } ]
standard-macro-braces = [
{ name = "btreeset", brace = "[" },
# The macro calls itself like btreemap!(...) so this triggers for any use
# { name = "btreemap", brace = "{" },
# For some reason these raise errors in some places where the macros are
# used correctly according to the config
# { name = "hashset", brace = "[" },
# { name = "hashmap", brace = "{" },
{ name = "btreemap", brace = "{" },
{ name = "hashset", brace = "[" },
{ name = "hashmap", brace = "{" },
]