Skip to content

Commit 5bf18e0

Browse files
committed
clippy: reinstate disallow unwrap_or_default
1 parent 89a574b commit 5bf18e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ disallowed-methods = [
88
{ path = "chrono::Utc::now", reason = "Do not use current date/time in code that must be deterministic" },
99
{ path = "namada_core::time::DateTimeUtc::now", reason = "Do not use current date/time in code that must be deterministic" },
1010
{ path = "wasmtimer::std::Instant", reason = "Do not use current date/time in code that must be deterministic" },
11-
#{ path = "std::result::Result::unwrap_or_default", reason = "Do not silently ignore an error that could be caused by gas" },
11+
{ path = "std::result::Result::unwrap_or_default", reason = "Do not silently ignore an error that could be caused by gas" },
1212
]
1313
allow-dbg-in-tests = true
1414
allow-print-in-tests = true

0 commit comments

Comments
 (0)