mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-13 08:01:02 +00:00
cargo fmt
This commit is contained in:
@@ -139,8 +139,7 @@ mod test {
|
||||
|
||||
#[test]
|
||||
fn len_doesnt_panic_if_lots_of_retired() {
|
||||
|
||||
let mut map = DenseMap::<usize,usize>::new();
|
||||
let mut map = DenseMap::<usize, usize>::new();
|
||||
|
||||
let id1 = map.add(1);
|
||||
let id2 = map.add(2);
|
||||
@@ -163,5 +162,4 @@ mod test {
|
||||
|
||||
assert_eq!(map.len(), 0);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,7 +60,9 @@ impl Sender {
|
||||
Ok(())
|
||||
}
|
||||
/// Convert this sender into a Sink
|
||||
pub fn into_sink(self) -> impl futures::Sink<SentMessage> + std::marker::Unpin + Clone + 'static {
|
||||
pub fn into_sink(
|
||||
self,
|
||||
) -> impl futures::Sink<SentMessage> + std::marker::Unpin + Clone + 'static {
|
||||
self.inner.into_sink()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user