Skip to content

Commit 4b57f45

Browse files
authored
feat: Allow BitswapQueryId to be used in BTreeMap (#15)
1 parent ac4eb12 commit 4b57f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use crate::{BitswapError, BitswapEvent, Result, ToBehaviourEvent, ToHandlerEvent
3434

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

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

4040
#[derive(Debug)]

0 commit comments

Comments
 (0)