Skip to content

Commit c93c894

Browse files
committed
Arbitrary self types v2: Unstable book, stabilize
Update the unstable book to indicate that this feature is now stabilized.
1 parent 3c0efbb commit c93c894

File tree

2 files changed

+2
-159
lines changed

2 files changed

+2
-159
lines changed

src/doc/unstable-book/src/language-features/arbitrary-self-types-pointers.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ The tracking issue for this feature is: [#44874]
66

77
------------------------
88

9-
This extends the [arbitrary self types] feature to allow methods to
10-
receive `self` by pointer. For example:
9+
This allow methods to receive `self` by pointer. For example:
1110

1211
```rust
1312
#![feature(arbitrary_self_types_pointers)]
@@ -27,7 +26,7 @@ fn main() {
2726

2827
In general this is not advised: it's thought to be better practice to wrap
2928
raw pointers in a newtype wrapper which implements the `core::ops::Receiver`
30-
trait, then you need "only" the `arbitrary_self_types` feature. For example:
29+
trait. For example:
3130

3231
```rust
3332
#![feature(arbitrary_self_types)]
@@ -53,5 +52,3 @@ fn main() {
5352
a_wrapper.m();
5453
}
5554
```
56-
57-
[arbitrary self types]: arbitrary-self-types.md

src/doc/unstable-book/src/language-features/arbitrary-self-types.md

-154
This file was deleted.

0 commit comments

Comments
 (0)