We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 140b6cb + d5d752a commit fcae1d6Copy full SHA for fcae1d6
library/alloc/src/vec/mod.rs
@@ -2277,16 +2277,6 @@ impl<T: Clone> ExtendWith<T> for ExtendElement<T> {
2277
}
2278
2279
2280
-struct ExtendDefault;
2281
-impl<T: Default> ExtendWith<T> for ExtendDefault {
2282
- fn next(&mut self) -> T {
2283
- Default::default()
2284
- }
2285
- fn last(self) -> T {
2286
2287
2288
-}
2289
-
2290
struct ExtendFunc<F>(F);
2291
impl<T, F: FnMut() -> T> ExtendWith<T> for ExtendFunc<F> {
2292
fn next(&mut self) -> T {
0 commit comments