Removed chapter from Unstable Book.

This commit is contained in:
Alexander Regueiro 2018-11-30 04:14:51 +00:00
parent aa5a4ef59d
commit 7bc1255955

View file

@ -1,24 +0,0 @@
# `self_in_typedefs`
The tracking issue for this feature is: [#49303]
[#49303]: https://github.com/rust-lang/rust/issues/49303
------------------------
The `self_in_typedefs` feature gate lets you use the special `Self` identifier
in `struct`, `enum`, and `union` type definitions.
A simple example is:
```rust
#![feature(self_in_typedefs)]
enum List<T>
where
Self: PartialOrd<Self> // can write `Self` instead of `List<T>`
{
Nil,
Cons(T, Box<Self>) // likewise here
}
```