diff options
| author | Ixrec <ericrhitchcock@gmail.com> | 2018-06-29 03:12:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-29 03:12:02 +0100 |
| commit | d6cf1821bffbaa92f07481e24749ac84bce5bfdc (patch) | |
| tree | 4d79abfb721575d542ae32a585bc753c181fd89b /src/libstd | |
| parent | 57dd722606028cafde656a66edc3206b82cd3bab (diff) | |
| download | rust-d6cf1821bffbaa92f07481e24749ac84bce5bfdc.tar.gz rust-d6cf1821bffbaa92f07481e24749ac84bce5bfdc.zip | |
Fix inconsequential typo in GlobalAlloc doc example
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/alloc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/alloc.rs b/src/libstd/alloc.rs index f28e91e19b7..f6cecbea11f 100644 --- a/src/libstd/alloc.rs +++ b/src/libstd/alloc.rs @@ -61,7 +61,7 @@ //! ```rust,ignore (demonstrates crates.io usage) //! extern crate jemallocator; //! -//! use jemallacator::Jemalloc; +//! use jemallocator::Jemalloc; //! //! #[global_allocator] //! static GLOBAL: Jemalloc = Jemalloc; |
