Skip to content

Commit eb8b4aa

Browse files
committed
Add lint
1 parent 05b454b commit eb8b4aa

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ test = true
6464

6565

6666
[lints.rust]
67-
dead_code = "warn"
67+
closure_returning_async_block = "warn"
6868
missing_debug_implementations = "warn"
6969
missing_docs = "warn"
7070
trivial_casts = "warn"

rustfmt.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
edition = "2024"
2+
style_edition = "2024"
23
hard_tabs = true
34
group_imports = "StdExternalCrate"
45
imports_granularity = "Crate"

src/registry.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//! specified types. Allows to spawn new jobs / messages using
33
//! `JobRegistry::Handle.builder().spawn().await?`.
44
5-
use std::{error::Error, future::Future, pin::Pin};
5+
use std::{error::Error, pin::Pin};
66

77
use crate::{CurrentJob, spawn::JobBuilder};
88

0 commit comments

Comments
 (0)