mirror of
https://github.com/telemt/telemt.git
synced 2026-10-12 04:15:59 +03:00
Rustfmt
This commit is contained in:
@@ -156,10 +156,7 @@ impl WebSocketLaneReservation {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub(super) fn mark_stream_owned(
|
||||
&mut self,
|
||||
stream: StreamIdentity,
|
||||
) -> Result<(), ManagerError> {
|
||||
pub(super) fn mark_stream_owned(&mut self, stream: StreamIdentity) -> Result<(), ManagerError> {
|
||||
if self.phase != WebSocketLaneReservationPhase::Transferred || self.stream != Some(stream) {
|
||||
return Err(ManagerError::Protocol);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user