Skip to content

Commit e1439c0

Browse files
committed
fix crate name in README
1 parent 5db6ab8 commit e1439c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ other mechanisms can be used to secure the application, if desired
2929
### With the io::Read abstraction
3030

3131
```rust
32-
let mut input = brotli::Decompressor::new(&mut io::stdin(), 4096 /* buffer size */);
32+
let mut input = brotli_decompressor::Decompressor::new(&mut io::stdin(), 4096 /* buffer size */);
3333
```
3434
then you can simply read input as you would any other io::Read class
3535

3636
### With the Stream Copy abstraction
3737

3838
```rust
39-
match brotli::BrotliDecompress(&mut io::stdin(), &mut io::stdout(), 65536 /* buffer size */) {
39+
match brotli_decompressor::BrotliDecompress(&mut io::stdin(), &mut io::stdout(), 65536 /* buffer size */) {
4040
Ok(_) => {},
4141
Err(e) => panic!("Error {:?}", e),
4242
}

0 commit comments

Comments
 (0)