File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ pub struct BzDecoder<R> {
2020
2121impl < R : Read > BzEncoder < R > {
2222 /// Create a new compression stream which will compress at the given level
23- /// to read compress output to the give output stream.
23+ /// to write compressed output to the given output stream.
2424 pub fn new ( r : R , level : Compression ) -> Self {
2525 Self {
2626 inner : bufread:: BzEncoder :: new ( BufReader :: new ( r) , level) ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ pub struct BzDecoder<W: Write> {
2727
2828impl < W : Write > BzEncoder < W > {
2929 /// Create a new compression stream which will compress at the given level
30- /// to write compress output to the give output stream.
30+ /// to write compressed output to the given output stream.
3131 pub fn new ( obj : W , level : Compression ) -> Self {
3232 Self {
3333 data : Compress :: new ( level, 30 ) ,
You can’t perform that action at this time.
0 commit comments