Skip to content

Commit

Permalink
fix more nightly warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
msrd0 committed Apr 17, 2024
1 parent 9058967 commit 059b441
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/diesel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! # use gotham::state::{FromState, State};
//! # use gotham::helpers::http::response::create_response;
//! # use gotham::handler::HandlerFuture;
//! # use gotham_middleware_diesel::{self, DieselMiddleware};
//! # use gotham_middleware_diesel::DieselMiddleware;
//! # use gotham::hyper::StatusCode;
//! # use gotham::test::TestServer;
//! # use gotham::mime::TEXT_PLAIN;
Expand Down
1 change: 1 addition & 0 deletions middleware/diesel/src/repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ use tokio::task;
/// # }
///
/// #[derive(Queryable, Debug)]
/// # #[allow(dead_code)]
/// pub struct User {
/// pub id: i32,
/// pub name: String,
Expand Down

0 comments on commit 059b441

Please sign in to comment.