Skip to content

Commit

Permalink
Correct ip defrag pool new return type
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianSchmid committed Sep 17, 2024
1 parent c0741f5 commit 74739e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etherparse/src/defrag/ip_defrag_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ where
Timestamp: Sized + core::fmt::Debug + Clone,
CustomChannelId: Sized + core::fmt::Debug + Clone + core::hash::Hash + Eq + PartialEq,
{
pub fn new() -> IpDefragPool {
pub fn new() -> IpDefragPool<Timestamp, CustomChannelId> {
IpDefragPool {
active: HashMap::new(),
finished_data_bufs: Vec::new(),
Expand Down

0 comments on commit 74739e5

Please sign in to comment.