update jemallocator example to use 2018 edition import syntax

This commit is contained in:
kraktus 2022-05-04 13:43:33 +02:00
parent fed2c43bbf
commit 519aa6e4d7

View File

@ -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]