We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 462307b commit 3cf7387Copy full SHA for 3cf7387
1 file changed
src/stream/tcb.rs
@@ -75,7 +75,7 @@ impl Tcb {
75
#[cfg(debug_assertions)]
76
let seq = 100;
77
#[cfg(not(debug_assertions))]
78
- let seq = rand::Rng::random::<u32>(&mut rand::rng());
+ let seq = rand::RngExt::random::<u32>(&mut rand::rng());
79
Tcb {
80
seq: seq.into(),
81
ack,
0 commit comments