]> git.lizzy.rs Git - rust.git/commitdiff
Reflect by-value object safety in the unstable book.
authorMasaki Hara <ackie.h.gmai@gmail.com>
Thu, 13 Sep 2018 13:24:19 +0000 (22:24 +0900)
committerMasaki Hara <ackie.h.gmai@gmail.com>
Wed, 24 Oct 2018 12:59:07 +0000 (21:59 +0900)
src/doc/unstable-book/src/language-features/unsized-locals.md

index 7a5fe5b7f28cdfc153c7f961389e7c9e4438daf4..6f7cf754ae083b778a4e9db3f0cb5dc2582aa29f 100644 (file)
@@ -101,9 +101,9 @@ fn main() {
 }
 ```
 
-And `Foo` will also be object-safe. However, this object-safety is not yet implemented.
+And `Foo` will also be object-safe.
 
-```rust,ignore
+```rust
 #![feature(unsized_locals)]
 
 trait Foo {
@@ -119,8 +119,6 @@ fn main () {
 }
 ```
 
-Unfortunately, this is not implemented yet.
-
 One of the objectives of this feature is to allow `Box<dyn FnOnce>`, instead of `Box<dyn FnBox>` in the future. See [#28796] for details.
 
 [#28796]: https://github.com/rust-lang/rust/issues/28796