mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 04:21:12 +00:00
Fix is_empty
This commit is contained in:
parent
f3e455a1c3
commit
59b03d548d
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ impl BytesStream {
|
|||
}
|
||||
|
||||
pub(crate) fn is_empty(&self) -> bool {
|
||||
self.total_len > 0
|
||||
self.total_len == 0
|
||||
}
|
||||
|
||||
pub(crate) fn into_reader(self) -> BytesReader {
|
||||
|
|
Loading…
Reference in a new issue