mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
doc: that suffix serves as mere distraction
This commit is contained in:
parent
02fbf31fb2
commit
f7fb0af729
@ -266,7 +266,7 @@ impl<T: ?Sized> Box<T> {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// let seventeen = Box::new(17u32);
|
||||
/// let seventeen = Box::new(17);
|
||||
/// let raw = Box::into_raw(seventeen);
|
||||
/// let boxed_again = unsafe { Box::from_raw(raw) };
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user