Skip to content

Commit

Permalink
Fixed broken commit to trunk (#687)
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Koenders <[email protected]>
  • Loading branch information
VictorKoenders and VictorKoenders authored Dec 15, 2023
1 parent 092628b commit 980e402
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/de/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ use crate::{
};
use core::{
cell::{Cell, RefCell},
cmp::Reverse,
num::{
NonZeroI128, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI8, NonZeroIsize, NonZeroU128,
NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU8, NonZeroUsize, Wrapping,
},
ops::{Bound, Range, RangeInclusive},
time::Duration,
};
use std::cmp::Reverse;

impl Decode for bool {
fn decode<D: Decoder>(decoder: &mut D) -> Result<Self, DecodeError> {
Expand Down
2 changes: 1 addition & 1 deletion src/enc/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use crate::{
config::{Endianness, IntEncoding, InternalEndianConfig, InternalIntEncodingConfig},
error::EncodeError,
};
use core::cmp::Reverse;
use core::{
cell::{Cell, RefCell},
marker::PhantomData,
Expand All @@ -13,7 +14,6 @@ use core::{
ops::{Bound, Range, RangeInclusive},
time::Duration,
};
use std::cmp::Reverse;

impl Encode for () {
fn encode<E: Encoder>(&self, _: &mut E) -> Result<(), EncodeError> {
Expand Down
2 changes: 1 addition & 1 deletion tests/basic_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ mod utils;

use bincode::error::DecodeError;
use core::cell::{Cell, RefCell};
use core::cmp::Reverse;
use core::ops::Bound;
use core::time::Duration;
use std::cmp::Reverse;
use std::num::*;
use utils::{the_same, the_same_with_comparer};

Expand Down

0 comments on commit 980e402

Please sign in to comment.