mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
add use_self clippy lint (#8325)
This commit is contained in:
@ -20,7 +20,7 @@ where
|
||||
/// Creates a new `EventStream`.
|
||||
pub fn new(receiver: tokio::sync::broadcast::Receiver<T>) -> Self {
|
||||
let inner = tokio_stream::wrappers::BroadcastStream::new(receiver);
|
||||
EventStream { inner }
|
||||
Self { inner }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user