Skip to content

Commit 67e484b

Browse files
Merge remote-tracking branch 'upstream/master' into patch-async
# Conflicts: # Cargo.toml
2 parents b0ee578 + 8bdc86f commit 67e484b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cfg-if = "1.0.0"
1919
heapless = "0.7.14"
2020
httparse = { version = "1.7.1", default-features = false }
2121
rand_core = "0.6.3"
22-
sha1 = "0.10.1"
22+
sha1 = { version = "0.10.1", default-features = false }
2323

2424
[dev-dependencies]
2525
async-std = { version = "1.12.0", features = ["attributes"] }

examples/server_async/compat.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
// As this is far from being any useful, please do extend this on your own
55
pub trait CompatExt {
66
fn compat(self) -> Compat<Self>
7-
where
8-
Self: Sized;
7+
where
8+
Self: Sized;
99
fn compat_ref(&self) -> Compat<&Self>;
1010
fn compat_mut(&mut self) -> Compat<&mut Self>;
1111
}
1212

1313
impl<T> CompatExt for T {
1414
fn compat(self) -> Compat<Self>
15-
where
16-
Self: Sized,
15+
where
16+
Self: Sized,
1717
{
1818
Compat(self)
1919
}

0 commit comments

Comments
 (0)