Skip to content

Commit

Permalink
clippy: reinstate disallow unwrap_or_default
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Feb 10, 2025
1 parent 7f06366 commit 7e00782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ disallowed-methods = [
{ path = "chrono::Utc::now", reason = "Do not use current date/time in code that must be deterministic" },
{ path = "namada_core::time::DateTimeUtc::now", reason = "Do not use current date/time in code that must be deterministic" },
{ path = "wasmtimer::std::Instant", reason = "Do not use current date/time in code that must be deterministic" },
#{ path = "std::result::Result::unwrap_or_default", reason = "Do not silently ignore an error that could be caused by gas" },
{ path = "std::result::Result::unwrap_or_default", reason = "Do not silently ignore an error that could be caused by gas" },
]
allow-dbg-in-tests = true
allow-print-in-tests = true

0 comments on commit 7e00782

Please sign in to comment.