mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 07:01:05 +00:00
Fix cargo clippy warning in peerset. (#7641)
* Fix cargo clippy warning in peerset. * Update client/peerset/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
This commit is contained in:
@@ -63,7 +63,7 @@ mod inner {
|
||||
/// `UNBOUNDED_CHANNELS_COUNTER`
|
||||
pub fn tracing_unbounded<T>(key: &'static str) ->(TracingUnboundedSender<T>, TracingUnboundedReceiver<T>) {
|
||||
let (s, r) = mpsc::unbounded();
|
||||
(TracingUnboundedSender(key.clone(), s), TracingUnboundedReceiver(key,r))
|
||||
(TracingUnboundedSender(key, s), TracingUnboundedReceiver(key,r))
|
||||
}
|
||||
|
||||
impl<T> TracingUnboundedSender<T> {
|
||||
|
||||
Reference in New Issue
Block a user