Skip to content

Commit

Permalink
Fix nighly Rust warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwippermann committed Feb 21, 2024
1 parent e0316e3 commit 63bc7b1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/data_set.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::{
cmp::{Ord, Ordering},
cmp::Ordering,
hash::Hasher,
slice::{Iter, IterMut},
};
Expand Down
2 changes: 1 addition & 1 deletion src/datagram.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl AsRef<Header> for Datagram {
mod tests {
use super::*;

use crate::{header::Header, id_hash, utils::utc_timestamp};
use crate::{id_hash, utils::utc_timestamp};

#[test]
fn test_id_hash() {
Expand Down
1 change: 0 additions & 1 deletion src/live_data_decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ mod tests {
use super::*;

use crate::{
stream_blob_length::StreamBlobLength::{BlobLength, Malformed, Partial},
test_data::{LIVE_DATA_1, LIVE_TELEGRAM_1},
test_utils::to_hex_string,
utils::utc_timestamp,
Expand Down
1 change: 0 additions & 1 deletion src/recording_encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ mod tests {
recording_decoder::data_from_checked_bytes,
test_data::{RECORDING_1, RECORDING_3, TELEGRAM_RECORDING_1},
test_utils::to_hex_string,
utils::utc_timestamp,
};

#[test]
Expand Down
2 changes: 1 addition & 1 deletion src/specification.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! This module provides the `Specification` and its associated types to allow interpretation
//! of the fields contained within the `frame_data` payload of `Packet` values.
use std::{cell::RefCell, clone::Clone, fmt, rc::Rc};
use std::{cell::RefCell, fmt, rc::Rc};

use chrono::{DateTime, TimeZone};

Expand Down

0 comments on commit 63bc7b1

Please sign in to comment.