We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3138a0e commit 11ce976Copy full SHA for 11ce976
http-body-util/src/collected.rs
@@ -53,7 +53,7 @@ impl<B: Buf> Collected<B> {
53
54
if let Ok(trailers) = frame.into_trailers() {
55
if let Some(current) = &mut self.trailers {
56
- current.extend(trailers.into_iter());
+ current.extend(trailers);
57
} else {
58
self.trailers = Some(trailers);
59
}
http-body-util/src/empty.rs
@@ -57,9 +57,7 @@ impl<D> Default for Empty<D> {
impl<D> Clone for Empty<D> {
fn clone(&self) -> Self {
60
- Self {
61
- _marker: PhantomData,
62
- }
+ *self
63
64
65
0 commit comments