Skip to content

Commit 4c3300b

Browse files
committed
Fix no-std build on rust <1.40
1 parent 187d898 commit 4c3300b

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/lib.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ mod lib {
371371
pub use std::*;
372372
}
373373

374+
pub use self::core::ops::{Bound, RangeBounds};
374375
pub use self::core::cell::{Cell, RefCell};
375376
pub use self::core::clone::{self, Clone};
376377
pub use self::core::convert::{self, From, Into};

‎src/map.rs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ impl Map<String, Value> {
151151
no_btreemap_get_key_value,
152152
))]
153153
{
154-
use std::ops::{Bound, RangeBounds};
155-
156154
struct Key<'a, Q: ?Sized>(&'a Q);
157155

158156
impl<'a, Q: ?Sized> RangeBounds<Q> for Key<'a, Q> {

0 commit comments

Comments
 (0)