fix: resolve clippy deny violations across 6 crates

- Convert 23 empty-bracket structs to unit structs in trading_engine
- Replace .unwrap()/.expect() with safe alternatives in fxt, data, ctrader-openapi
- Suppress generated protobuf warnings in ctrader-openapi
- Fix let_ must_use patterns with wildcard assignment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-02-24 15:24:47 +01:00
parent bed75be8b6
commit c792ff1ccf
15 changed files with 64 additions and 103 deletions

View File

@@ -50,6 +50,8 @@ impl MessageDispatcher {
let (error_tx, _) = broadcast::channel(BROADCAST_CAPACITY);
// Take ownership of the receiver stream
// Invariant: receiver is always available on a fresh CTraderConnection
#[allow(clippy::expect_used)]
let receiver = conn
.take_receiver()
.expect("receiver already taken from connection");