diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-01-14 21:08:15 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-01-14 21:08:15 +0200 |
| commit | f7fb0af729f77b27aa69f8e8f24279de19b12d12 (patch) | |
| tree | 50b1de0c529c99acd7326cdcbb106e640e791195 /src/liballoc | |
| parent | 02fbf31fb26e0b5eccf34cef8a5f8becef6f3ada (diff) | |
| download | rust-f7fb0af729f77b27aa69f8e8f24279de19b12d12.tar.gz rust-f7fb0af729f77b27aa69f8e8f24279de19b12d12.zip | |
doc: that suffix serves as mere distraction
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/boxed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index efc28be92a4..78b55d6491e 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -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) }; /// ``` |
