From c5a9a8ad45271973e219f2669a9cad36663b081a Mon Sep 17 00:00:00 2001 From: Edgar Luque Date: Thu, 6 Jan 2022 10:48:30 +0100 Subject: [PATCH] fix --- content/blog/zstd-streaming-in-rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/blog/zstd-streaming-in-rust.md b/content/blog/zstd-streaming-in-rust.md index 7923390..0fd4842 100644 --- a/content/blog/zstd-streaming-in-rust.md +++ b/content/blog/zstd-streaming-in-rust.md @@ -56,7 +56,7 @@ let buffer = Cursor::new(bytes_compressed); ``` Good, now we can pass this buffer to the zstd [Decoder](https://docs.rs/zstd/0.9.0+zstd.1.5.0/zstd/stream/read/struct.Decoder.html), which takes anything that implements [Read](https://doc.rust-lang.org/std/io/trait.Read.html), -it also wraps it around a [BufRead](https://doc.rust-lang.org/nightly/std/io/trait.BufRead.html) for buffered reading. +it also wraps it around a [BufReader](https://doc.rust-lang.org/nightly/std/io/struct.BufReader.html) for buffered reading. ```rust // The type of decoder is Decoder>>>