about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorIxrec <ericrhitchcock@gmail.com>2018-06-29 03:12:02 +0100
committerGitHub <noreply@github.com>2018-06-29 03:12:02 +0100
commitd6cf1821bffbaa92f07481e24749ac84bce5bfdc (patch)
tree4d79abfb721575d542ae32a585bc753c181fd89b /src/libstd
parent57dd722606028cafde656a66edc3206b82cd3bab (diff)
downloadrust-d6cf1821bffbaa92f07481e24749ac84bce5bfdc.tar.gz
rust-d6cf1821bffbaa92f07481e24749ac84bce5bfdc.zip
Fix inconsequential typo in GlobalAlloc doc example
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/alloc.rs2
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;