about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-07-01 21:18:46 +0200
committerGitHub <noreply@github.com>2018-07-01 21:18:46 +0200
commit255c26b4f7bcb0f819a84576cce3259b89f95aca (patch)
tree7441e9149e09e480e6cbb16ee2671c8c78d6ecd6
parent1e5062977219314f5dc28b3e2f0b1cb4e135ec55 (diff)
parentd6cf1821bffbaa92f07481e24749ac84bce5bfdc (diff)
downloadrust-255c26b4f7bcb0f819a84576cce3259b89f95aca.tar.gz
rust-255c26b4f7bcb0f819a84576cce3259b89f95aca.zip
Rollup merge of #51890 - Ixrec:patch-3, r=alexcrichton
Fix inconsequential typo in GlobalAlloc doc example
-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;