Rollup merge of #96701 - kraktus:alloc_example_2018_edition, r=Mark-Simulacrum
update `jemallocator` example to use 2018 edition import syntax
This commit is contained in:
commit
102bbc9ad3
1 changed files with 0 additions and 2 deletions
|
@ -42,8 +42,6 @@
|
||||||
//! [`GlobalAlloc`] trait. This type can be provided by an external library:
|
//! [`GlobalAlloc`] trait. This type can be provided by an external library:
|
||||||
//!
|
//!
|
||||||
//! ```rust,ignore (demonstrates crates.io usage)
|
//! ```rust,ignore (demonstrates crates.io usage)
|
||||||
//! extern crate jemallocator;
|
|
||||||
//!
|
|
||||||
//! use jemallocator::Jemalloc;
|
//! use jemallocator::Jemalloc;
|
||||||
//!
|
//!
|
||||||
//! #[global_allocator]
|
//! #[global_allocator]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue