Skip to content

Commit 102bbc9

Browse files
Rollup merge of #96701 - kraktus:alloc_example_2018_edition, r=Mark-Simulacrum
update `jemallocator` example to use 2018 edition import syntax
2 parents 6226d10 + 519aa6e commit 102bbc9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

library/std/src/alloc.rs

-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
//! [`GlobalAlloc`] trait. This type can be provided by an external library:
4343
//!
4444
//! ```rust,ignore (demonstrates crates.io usage)
45-
//! extern crate jemallocator;
46-
//!
4745
//! use jemallocator::Jemalloc;
4846
//!
4947
//! #[global_allocator]

0 commit comments

Comments
 (0)