Skip to content

Commit 7e381b2

Browse files
committed
refactor(sync): ignore the clippy::needless_lifetimes lint
1 parent 3c4f684 commit 7e381b2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/r3/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#![feature(type_alias_impl_trait)]
44
#![feature(const_trait_impl)]
55
#![feature(const_mut_refs)]
6+
#![feature(lint_reasons)]
67
#![feature(cell_update)]
78
#![feature(decl_macro)]
89
#![feature(doc_cfg)]

src/r3/src/sync/source.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ macro_rules! impl_source_setter {
353353
)?
354354
///
355355
/// [Take]: crate::bind::Bind::take_mut
356+
#[expect(clippy::needless_lifetimes)] // `'pool`
356357
pub const fn take_bind<'pool>(
357358
self,
358359
bind: __pr::Bind<'pool, System, AutoWrapped<T>>,

0 commit comments

Comments
 (0)