Skip to content

Commit 33a4b3e

Browse files
fixed some warnings
1 parent 69252b2 commit 33a4b3e

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

amqp-type/src/amqp_type.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use std::hash::Hash;
22

3-
use bigdecimal::num_traits::ToBytes;
43

54
use crate::array::array::Array;
65
use crate::compound::list::List;

amqp-type/src/compound/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use crate::serde::encode::Encoded;
21

32
mod encoded_vec;
43
pub(crate) mod list;

amqp-type/src/fixed_width/uint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl Decode for u32 {
3737
}
3838
}
3939

40-
fn parse_uint(mut iter: impl Iterator<Item = u8>) -> Result<u32, AppError> {
40+
fn parse_uint(iter: impl Iterator<Item = u8>) -> Result<u32, AppError> {
4141
let mut byte_vals = [0; 4];
4242
let mut index = 0;
4343
for b in iter.take(4) {

0 commit comments

Comments
 (0)