Skip to content

Commit

Permalink
Merge pull request #46 from kevinji/patch-1
Browse files Browse the repository at this point in the history
Readme: Syntax highlight Rust code
  • Loading branch information
KillingSpark authored Sep 12, 2023
2 parents 6242d15 + 71cdfec commit 127527d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Additionally to the descriptions and the docs you can have a look at the zstd /

The easiest is to wrap the io::Read into a StreamingDecoder which itself implements io::Read. It will decode blocks as necessary to fulfill the read requests

```
```rust
let mut f = File::open(path).unwrap();
let mut decoder = StreamingDecoder::new(&mut f).unwrap();

Expand Down

0 comments on commit 127527d

Please sign in to comment.