fix: resolve all remaining clippy warnings in examples and benchmarks including unused imports, variables, empty println statements, and enum naming conventions

This commit is contained in:
floor-licker
2025-12-04 07:37:40 -05:00
parent 3742a5b864
commit 88f116511c
20 changed files with 63 additions and 63 deletions
+2 -1
View File
@@ -42,6 +42,7 @@ use tokio::time::sleep;
use tracing::{error, info, debug};
/// Comprehensive demo showcasing all polyfill-rs functionality
#[allow(dead_code)]
pub struct PolyfillDemo {
/// Basic HTTP client
client: ClobClient,
@@ -513,7 +514,7 @@ impl PolyfillDemo {
if rand::random::<bool>() {
Ok("Success!")
} else {
Err(PolyfillError::network("Simulated network error", std::io::Error::new(std::io::ErrorKind::Other, "Simulated error")))
Err(PolyfillError::network("Simulated network error", std::io::Error::other("Simulated error")))
}
};