mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-20 11:21:14 +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