Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed May 7, 2024
1 parent 556cbcb commit 5d12a45
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/allocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1370,8 +1370,6 @@ fn test_g2_roundtrip(#[case] atom: &str) {
);
}

#[cfg(test)]
use core::convert::TryFrom;
use std::borrow::Borrow;

#[cfg(test)]
Expand Down
3 changes: 0 additions & 3 deletions src/number.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ fn test_node_from_number() {
#[cfg(test)]
use num_bigint::{BigUint, Sign};

#[cfg(test)]
use std::convert::TryFrom;

#[cfg(test)]
fn roundtrip_bytes(b: &[u8]) {
let negative = !b.is_empty() && (b[0] & 0x80) != 0;
Expand Down
3 changes: 0 additions & 3 deletions src/serde/parse_atom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ pub fn parse_path<'a>(f: &'a mut Cursor<&[u8]>) -> Result<&'a [u8]> {
#[cfg(test)]
use std::io::ErrorKind;

#[cfg(test)]
use hex;

#[cfg(test)]
use super::write_atom::write_atom;

Expand Down

0 comments on commit 5d12a45

Please sign in to comment.