Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Oct 30, 2023
1 parent 6a0228f commit f2acae6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quinn-proto/src/connection/streams/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ impl Send {
finish_acked: true, // Pretend that the remote acked the `FIN`. Actually trying to send it would fail because the remote has stopped the stream already.
};

return Ok(())
return Ok(());
}

return Err(FinishError::Stopped(error_code))
return Err(FinishError::Stopped(error_code));
}

if self.state == SendState::Ready {
Expand All @@ -59,7 +59,7 @@ impl Send {
};
self.fin_pending = true;

return Ok(())
return Ok(());
}

Err(FinishError::UnknownStream)
Expand Down

0 comments on commit f2acae6

Please sign in to comment.