fix: resolve major clippy warnings causing CI failures including unused doc comments, dead code, needless borrows, and assertion constants

This commit is contained in:
floor-licker
2025-12-04 07:26:38 -05:00
parent fe772c055a
commit 3742a5b864
7 changed files with 16 additions and 10 deletions
+4 -3
View File
@@ -142,8 +142,9 @@ mod benches {
use chrono::Utc;
use std::str::FromStr;
#[allow(dead_code)]
fn order_book_benchmark(c: &mut criterion::Criterion) {
let mut book_manager = OrderBookManager::new(100);
let book_manager = OrderBookManager::new(100);
c.bench_function("apply_order_delta", |b| {
b.iter(|| {
@@ -173,10 +174,10 @@ mod tests {
#[test]
fn test_client_creation() {
let client = ClobClient::new("https://test.example.com");
let _client = ClobClient::new("https://test.example.com");
// Test that the client was created successfully
// We can't test private fields, but we can verify the client exists
assert!(true); // Client creation successful
// Client creation successful
}
#[test]