]> git.proxmox.com Git - proxmox.git/commitdiff
doc fixup
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 9 Dec 2020 09:18:58 +0000 (10:18 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 9 Dec 2020 09:18:58 +0000 (10:18 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox/src/tools/vec/byte_vec.rs

index e983f96d5e5210a63b12ca2457e90bc74dd63796..0b9c5046ce96d28783f2e2f14897f0047069fb82 100644 (file)
@@ -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: