From 4a0f06d0846a093f80dc1287fcebcd09545de281 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 9 Dec 2020 10:18:58 +0100 Subject: [PATCH] doc fixup Signed-off-by: Wolfgang Bumiller --- proxmox/src/tools/vec/byte_vec.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxmox/src/tools/vec/byte_vec.rs b/proxmox/src/tools/vec/byte_vec.rs index e983f96d..0b9c5046 100644 --- a/proxmox/src/tools/vec/byte_vec.rs +++ b/proxmox/src/tools/vec/byte_vec.rs @@ -32,7 +32,7 @@ /// file.append_to_vec(&mut data, 1024)?; /// ``` /// -/// [`ReadExt`]: crate::io::ReadExt +/// [`ReadExt`]: crate::tools::io::ReadExt pub trait ByteVecExt { /// Grow a vector without initializing its elements. The difference to simply using `reserve` /// is that it also updates the actual length, making the newly allocated data part of the @@ -70,7 +70,7 @@ pub trait ByteVecExt { /// the previously contained content. Since we cannot track this state through the type system, /// this method is marked as an unsafe API for good measure. /// - /// [`ReadExt`]: crate::io::ReadExt + /// [`ReadExt`]: crate::tools::io::ReadExt unsafe fn grow_uninitialized(&mut self, more: usize) -> &mut [u8]; /// Resize a vector to a specific size without initializing its data. This is a shortcut for: