Skip to content

Commit 6fa88ba

Browse files
committed
README: Remove mention of deprecated functions
Just delete these docs, the functions are deprecated and will be removed in the imminent `v1.0` release - saves me forgetting them when they are removed.
1 parent d76438c commit 6fa88ba

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,6 @@ let adt = Adt { x: 42, p: Foo::Space(50).into() };
6868
println!("We can explicitly deref: {}", *adt.p);
6969
println!("Or use deref coercion: {}", adt.p);
7070
println!("Or we can use borrow: {}", &adt.p);
71-
72-
// And if all that is too complicated just use the inherent methods:
73-
74-
println!("Explicitly get a reference: {}", adt.p.as_inner());
75-
println!("Or the inner type: {}", adt.p.into_inner());
7671
```
7772

7873
## Minimum Supported Rust Version (MSRV)

0 commit comments

Comments
 (0)