Skip to content

Commit be6f5be

Browse files
Sherlock-HoloEugeny
authored andcommitted
implement Ord, PartialOrd for ChannelId
1 parent 2c7858e commit be6f5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

russh/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ impl ChannelOpenFailure {
450450
}
451451
}
452452

453-
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
453+
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Ord, PartialOrd)]
454454
/// The identifier of a channel.
455455
pub struct ChannelId(u32);
456456

0 commit comments

Comments
 (0)