Skip to content

Commit a2011d2

Browse files
authored
Update association_internal.rs
1 parent 791e54f commit a2011d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sctp/src/association/association_internal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ impl AssociationInternal {
770770
self.use_forward_tsn = true;
771771
}
772772
}
773-
} else if let Some(_) = param.as_any().downcast_ref::<ParamForwardTsnSupported>() {
773+
} else if param.as_any().downcast_ref::<ParamForwardTsnSupported>().is_some() {
774774
self.use_forward_tsn = true;
775775
}
776776
}

0 commit comments

Comments
 (0)