mirror of
https://github.com/floor-licker/polyfill-rs.git
synced 2026-08-18 15:08:06 +00:00
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:
@@ -185,7 +185,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
// Collect some samples
|
||||
for i in 0..5 {
|
||||
let start = Instant::now();
|
||||
if let Ok(_) = client.get_server_time().await {
|
||||
if (client.get_server_time().await).is_ok() {
|
||||
let duration = start.elapsed();
|
||||
adaptive_timeout.add_sample(duration);
|
||||
if i < 3 {
|
||||
|
||||
Reference in New Issue
Block a user