Skip to content

chore: minor improvement for docs#148

Open
spuradage wants to merge 1 commit intotrifectatechfoundation:masterfrom
spuradage:master
Open

chore: minor improvement for docs#148
spuradage wants to merge 1 commit intotrifectatechfoundation:masterfrom
spuradage:master

Conversation

@spuradage
Copy link
Copy Markdown

minor improvement for docs

Comment thread src/read.rs Outdated
Signed-off-by: spuradage <spuradage@outlook.com>
@spuradage
Copy link
Copy Markdown
Author

@bjorn3 Thanks for your patience reply. If there's anything need I to do, please feel free to let me know.

Comment thread src/read.rs
impl<R: Read> BzEncoder<R> {
/// Create a new compression stream which will compress at the given level
/// to read compress output to the give output stream.
/// to read compressed output to the given output stream.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that really there is no output stream here: this is a stream transformer, you give it some r: R that you can read uncompressed data from, and return Self that you can read compressed data from.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for @folkertdev review.

@bjorn3 What do you think about it? 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants