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 791e54f commit a2011d2Copy full SHA for a2011d2
sctp/src/association/association_internal.rs
@@ -770,7 +770,7 @@ impl AssociationInternal {
770
self.use_forward_tsn = true;
771
}
772
773
- } else if let Some(_) = param.as_any().downcast_ref::<ParamForwardTsnSupported>() {
+ } else if param.as_any().downcast_ref::<ParamForwardTsnSupported>().is_some() {
774
775
776
0 commit comments