Skip to content

Commit

Permalink
fix: πŸ› Fix clippy hallucination
Browse files Browse the repository at this point in the history
Ok(()) is considered an unnecessary return, with
the fix more horrible than the original.
  • Loading branch information
berkus committed Sep 30, 2024
1 parent ab0fc9d commit 119564a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/chainofcommand/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ tokio-stream = { version = "0.1" }
tokio-serial = "5.4"
defer = "0.2"
bytes = "1.7"

[lints.clippy]
needless_return = "allow" # clippy hallucinates like chatgpt

0 comments on commit 119564a

Please sign in to comment.