diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-07-27 10:50:19 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-07-27 12:28:13 -0400 |
| commit | ba5fcb726fb88cc8393f48c9f46ba03fcadf0511 (patch) | |
| tree | abbbe227f14e6553d47201ad533e8d5b91fa4672 /src/libstd/primitive_docs.rs | |
| parent | d019a49ac86322703e1daad0ebca393856185b32 (diff) | |
| download | rust-ba5fcb726fb88cc8393f48c9f46ba03fcadf0511.tar.gz rust-ba5fcb726fb88cc8393f48c9f46ba03fcadf0511.zip | |
Show appropriate feature flags in docs
Diffstat (limited to 'src/libstd/primitive_docs.rs')
| -rw-r--r-- | src/libstd/primitive_docs.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index 066b2b576da..7f14ea93c52 100644 --- a/src/libstd/primitive_docs.rs +++ b/src/libstd/primitive_docs.rs @@ -111,7 +111,8 @@ mod prim_unit { } /// the raw pointer. It doesn't destroy `T` or deallocate any memory. /// /// ``` -/// # #![feature(box_raw)] +/// #![feature(box_raw)] +/// /// let my_speed: Box<i32> = Box::new(88); /// let my_speed: *mut i32 = Box::into_raw(my_speed); /// |
