Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(SendStream): remove duplicate buf.is_empty check (#1823)
`SendStream::send_internal` starts off with a check to `buf.is_empty`. https://github.com/mozilla/neqo/blob/cf0009842dade14a52416180f94a2dc507cd867a/neqo-transport/src/send_stream.rs#L1252-L1256 Thus the following `buf.is_empty` check isn't necessary. https://github.com/mozilla/neqo/blob/cf0009842dade14a52416180f94a2dc507cd867a/neqo-transport/src/send_stream.rs#L1272
- Loading branch information