Skip to content

Commit c64253a

Browse files
committed
fix new clippy errors
1 parent a4cb925 commit c64253a

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/storage/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ use tokio::{
4545
runtime,
4646
sync::Mutex,
4747
};
48-
use tracing::{debug, error, info_span, instrument, trace, warn};
48+
use tracing::{debug, info_span, instrument, trace, warn};
4949
use walkdir::WalkDir;
5050

5151
const ARCHIVE_INDEX_FILE_EXTENSION: &str = "index";

src/utils/html.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use lol_html::{element, errors::RewritingError};
1818
use std::sync::Arc;
1919
use tokio::{io::AsyncRead, task::JoinHandle};
2020
use tokio_util::io::ReaderStream;
21-
use tracing::{Span, error, instrument};
21+
use tracing::{Span, instrument};
2222
use tracing_futures::Instrument as _;
2323

2424
const CHANNEL_SIZE: usize = 64;

src/web/error.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use axum::{
1010
response::{IntoResponse, Response as AxumResponse},
1111
};
1212
use std::borrow::Cow;
13-
use tracing::error;
1413

1514
#[derive(Debug, thiserror::Error)]
1615
pub enum AxumNope {

0 commit comments

Comments
 (0)