From bbe235b2e374fb613256c916668cc0c33d705c5b Mon Sep 17 00:00:00 2001 From: bangjiehan Date: Thu, 11 Jul 2024 11:24:40 +0800 Subject: [PATCH] Update link of trait BufMut in framing.md --- content/tokio/tutorial/framing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tokio/tutorial/framing.md b/content/tokio/tutorial/framing.md index aff900de..406a78ac 100644 --- a/content/tokio/tutorial/framing.md +++ b/content/tokio/tutorial/framing.md @@ -290,7 +290,7 @@ initialization process is not free. When working with `BytesMut` and `BufMut`, capacity is **uninitialized**. The `BytesMut` abstraction prevents us from reading the uninitialized memory. This lets us avoid the initialization step. -[`BufMut`]: https://docs.rs/bytes/1/bytes/trait.BufMut.html +[`BufMut`]: https://docs.rs/bytes/1/bytes/buf/trait.BufMut.html [`bytes`]: https://docs.rs/bytes/ # Parsing