Skip to content

Commit 23f61af

Browse files
00xcroypat
authored andcommitted
docs: fix broken link in mmap module
Signed-off-by: Carlos López <[email protected]>
1 parent acc433d commit 23f61af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mmap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ impl<B: NewBitmap> GuestMemoryMmap<B> {
512512

513513
/// Creates a container and allocates anonymous memory for guest memory regions.
514514
///
515-
/// Valid memory regions are specified as a sequence of (Address, Size, Option<FileOffset>)
515+
/// Valid memory regions are specified as a sequence of (Address, Size, [`Option<FileOffset>`])
516516
/// tuples sorted by Address.
517517
pub fn from_ranges_with_files<A, T>(ranges: T) -> result::Result<Self, Error>
518518
where

0 commit comments

Comments
 (0)