Skip to content

Commit 3902bd2

Browse files
author
Devdutt Shenoi
committed
style: less code == better
1 parent cc689b4 commit 3902bd2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/handlers/http/logstream.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -630,14 +630,9 @@ pub mod error {
630630

631631
#[cfg(test)]
632632
mod tests {
633-
use actix_web::{test::TestRequest, web};
634-
use anyhow::bail;
633+
use actix_web::test::TestRequest;
635634

636-
use crate::{
637-
handlers::http::modal::utils::logstream_utils::PutStreamHeaders, stats::StatsParams,
638-
};
639-
640-
use super::{error::StreamError, *};
635+
use crate::handlers::http::modal::utils::logstream_utils::PutStreamHeaders;
641636

642637
// TODO: Fix this test with routes
643638
// #[actix_web::test]

0 commit comments

Comments
 (0)