Skip to content

Commit

Permalink
chore: ignore clippy::future_not_send
Browse files Browse the repository at this point in the history
See rust-lang/rust-clippy#10645 for more info
  • Loading branch information
KisaragiEffective committed Jul 2, 2023
1 parent a95e415 commit 957a4fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions packages/toy-blog/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#![deny(clippy::all)]
#![warn(clippy::pedantic, clippy::nursery)]
// This fires on HttpRequest, which is not FP.
// But causes ICE; it will block CI.
// Let's disable this until the fix land on 1.71.0. See https://github.com/rust-lang/rust-clippy/issues/10645 for more info.
#![allow(clippy::future_not_send)]

mod extension;
mod service;
Expand Down
5 changes: 0 additions & 5 deletions packages/toy-blog/src/service/http.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// This fires on HttpRequest, which is not FP.
// But causes ICE; it will block CI.
// Let's disable this until the fix land on 1.71.0. See https://github.com/rust-lang/rust-clippy/issues/10645 for more info.
#![allow(clippy::future_not_send)]

pub mod api;
pub mod cors;
pub mod repository;
Expand Down

0 comments on commit 957a4fc

Please sign in to comment.