mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Rollup merge of #30912 - tshepang:remove-distraction, r=steveklabnik
This commit is contained in:
commit
9ffb84a784
@ -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