Skip to content

Commit 9d0d97c

Browse files
committed
fix: clippy + fmt
1 parent 10225cd commit 9d0d97c

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ rust.rust_2018_idioms = "deny"
1414
rustdoc.all = "warn"
1515

1616
[lints.clippy]
17-
all = "warn"
1817
missing_const_for_fn = "warn"
1918
use_self = "warn"
2019
option_if_let_else = "warn"
@@ -49,4 +48,4 @@ url = "2"
4948

5049
[dev-dependencies]
5150
alloy-rpc-client = { version = "0.1.2" }
52-
alloy-transport-http = { version = "0.1.2" }
51+
alloy-transport-http = { version = "0.1.2" }

src/backend.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,9 +706,9 @@ impl DatabaseRef for SharedBackend {
706706

707707
#[cfg(test)]
708708
mod tests {
709-
use alloy_provider::{ProviderBuilder, RootProvider};
710-
use crate::cache::{BlockchainDbMeta, JsonBlockCacheDB};
711709
use super::*;
710+
use crate::cache::{BlockchainDbMeta, JsonBlockCacheDB};
711+
use alloy_provider::{ProviderBuilder, RootProvider};
712712
use alloy_rpc_client::ClientBuilder;
713713
use alloy_transport_http::{Client, Http};
714714
use std::{collections::BTreeSet, path::PathBuf};

src/cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,4 +616,4 @@ mod tests {
616616

617617
let _s = serde_json::to_string(&cache).unwrap();
618618
}
619-
}
619+
}

0 commit comments

Comments
 (0)