Fixed broken commit to trunk (#687)

Co-authored-by: Victor Koenders <victor.koenders@qrtech.se>
This commit is contained in:
Trangar 2023-12-15 08:08:38 +01:00 committed by GitHub
parent 67564d2bd4
commit e0e5402094
3 changed files with 3 additions and 3 deletions

View File

@ -9,6 +9,7 @@ use crate::{
};
use core::{
cell::{Cell, RefCell},
cmp::Reverse,
num::{
NonZeroI128, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI8, NonZeroIsize, NonZeroU128,
NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU8, NonZeroUsize, Wrapping,
@ -16,7 +17,6 @@ use core::{
ops::{Bound, Range, RangeInclusive},
time::Duration,
};
use std::cmp::Reverse;
impl Decode for bool {
fn decode<D: Decoder>(decoder: &mut D) -> Result<Self, DecodeError> {

View File

@ -3,6 +3,7 @@ use crate::{
config::{Endianness, IntEncoding, InternalEndianConfig, InternalIntEncodingConfig},
error::EncodeError,
};
use core::cmp::Reverse;
use core::{
cell::{Cell, RefCell},
marker::PhantomData,
@ -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> {

View File

@ -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};