Skip to content

Commit

Permalink
Use core RangeInclusive instead of std (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayPavlina authored Sep 13, 2022
1 parent c5c64ab commit 4b94a47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/max_encoded_len.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
use crate::{Compact, Encode};
use impl_trait_for_tuples::impl_for_tuples;
use core::{mem, marker::PhantomData, num::*, ops::Range, time::Duration};
use std::ops::RangeInclusive;
use core::{mem, marker::PhantomData, num::*, ops::{Range, RangeInclusive}, time::Duration};
use crate::alloc::boxed::Box;

/// Items implementing `MaxEncodedLen` have a statically known maximum encoded size.
Expand Down

0 comments on commit 4b94a47

Please sign in to comment.