Skip to content

Commit d7066d4

Browse files
authored
Drop conservative_impl_trait in impl Trait example
1 parent d595f66 commit d7066d4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/future-proofing.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ section of the Edition Guide for more details.
116116
[impl-trait-2]: https://rust-lang-nursery.github.io/edition-guide/rust-2018/trait-system/impl-trait-for-returning-complex-types-with-ease.html
117117

118118
```rust
119-
#![feature(conservative_impl_trait)]
120-
121119
pub fn my_transform<I: Iterator>(input: I) -> impl Iterator<Item = (usize, I::Item)> {
122120
input.skip(3).enumerate()
123121
}

0 commit comments

Comments
 (0)