Skip to content

Commit

Permalink
feat: Allow BitswapQueryId to be used in BTreeMap (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
oblique authored Jan 23, 2024
1 parent ac4eb12 commit 4b57f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use crate::{BitswapError, BitswapEvent, Result, ToBehaviourEvent, ToHandlerEvent

const SEND_FULL_INTERVAL: Duration = Duration::from_secs(30);

#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct BitswapQueryId(u64);

#[derive(Debug)]
Expand Down

0 comments on commit 4b57f45

Please sign in to comment.