Skip to content

Commit 812804e

Browse files
committed
remove extern crates.
1 parent 8d19398 commit 812804e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/lib.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//! For max heap, `BiaryHeap::from_vec()` is the most versatile way to create a heap.
1212
//!
1313
//! ```rust
14-
//! extern crate binary_heap_plus; // not needed on Rust 2018
1514
//! use binary_heap_plus::*;
1615
//!
1716
//! // max heap
@@ -26,7 +25,6 @@
2625
//! Min heap is similar, but requires type annotation.
2726
//!
2827
//! ```rust
29-
//! extern crate binary_heap_plus; // not needed on Rust 2018
3028
//! use binary_heap_plus::*;
3129
//!
3230
//! // min heap
@@ -43,7 +41,6 @@
4341
//! For custom heap, `BinaryHeap::from_vec_cmp()` works in a similar way to max/min heap. The only difference is that you add the comparator closure with apropriate signature.
4442
//!
4543
//! ```rust
46-
//! extern crate binary_heap_plus; // not needed on Rust 2018
4744
//! use binary_heap_plus::*;
4845
//!
4946
//! // custom heap: ordered by second value (_.1) of the tuples; min first
@@ -98,12 +95,6 @@
9895
9996
mod binary_heap;
10097
pub use crate::binary_heap::*;
101-
extern crate compare;
102-
extern crate core;
103-
#[cfg(feature = "serde")]
104-
extern crate serde;
105-
#[cfg(all(feature = "serde", test))]
106-
extern crate serde_json;
10798

10899
/// An intermediate trait for specialization of `Extend`.
109100
// #[doc(hidden)]

0 commit comments

Comments
 (0)