Skip to content

Commit 594a8ca

Browse files
committed
clippy
1 parent 241e766 commit 594a8ca

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

bin/builder.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use tokio::select;
1010
#[tokio::main]
1111
async fn main() -> eyre::Result<()> {
1212
tracing_subscriber::fmt::try_init().unwrap();
13-
let span = tracing::info_span!("zenith-builder");
1413

1514
let config = BuilderConfig::load_from_env()?.clone();
1615
let provider = config.connect_provider().await?;

src/config.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,6 @@ fn load_u64(key: &str) -> Result<u64, ConfigError> {
217217
val.parse::<u64>().map_err(Into::into)
218218
}
219219

220-
fn load_u16(key: &str) -> Result<u16, ConfigError> {
221-
let val = load_string(key)?;
222-
val.parse::<u16>().map_err(Into::into)
223-
}
224-
225220
fn load_url(key: &str) -> Result<Cow<'static, str>, ConfigError> {
226221
load_string(key).map_err(Into::into).map(Into::into)
227222
}

0 commit comments

Comments
 (0)