Skip to content

Commit 14970d9

Browse files
committed
Remove Default impls for headers and trailers.
1 parent 5a36e28 commit 14970d9

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/headers/mod.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,6 @@ impl Headers {
122122
}
123123
}
124124

125-
impl Default for Headers {
126-
fn default() -> Self {
127-
Self::new()
128-
}
129-
}
130-
131125
impl IntoIterator for Headers {
132126
type Item = (HeaderName, Vec<HeaderValue>);
133127
type IntoIter = IntoIter;

src/trailers.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,6 @@ impl Trailers {
152152
}
153153
}
154154

155-
impl Default for Trailers {
156-
fn default() -> Self {
157-
Self::new()
158-
}
159-
}
160-
161155
impl Clone for Trailers {
162156
fn clone(&self) -> Self {
163157
Self {

0 commit comments

Comments
 (0)