cargo fmt

This commit is contained in:
James Wilson
2021-08-12 11:21:36 +01:00
parent 9017f328f0
commit 230987036a
8 changed files with 70 additions and 44 deletions
+2 -4
View File
@@ -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);
}
}
}
+3 -1
View File
@@ -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()
}
}