Skip to content

Commit 39b7be7

Browse files
committed
Remove unused import and apply rust fmt
1 parent d5e487c commit 39b7be7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

etherparse/src/err/from_slice_error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,9 @@ mod tests {
329329
use crate::{ArpHardwareId, LenSource};
330330

331331
use super::{FromSliceError::*, *};
332+
use core::error::Error;
332333
use core::hash::{Hash, Hasher};
333334
use std::collections::hash_map::DefaultHasher;
334-
use core::error::Error;
335335
use std::format;
336336

337337
#[test]

etherparse/src/err/ip/header_error.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#[cfg(feature = "std")]
2-
use crate::*;
3-
41
/// Error when decoding the IP header part of a message.
52
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
63
pub enum HeaderError {

0 commit comments

Comments
 (0)