Skip to content

Commit 9237cf5

Browse files
committed
memory_model: fix one broken doc test sample
Signed-off-by: Diana Popa <[email protected]>
1 parent 7a27b24 commit 9237cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

memory_model/src/guest_memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ impl GuestMemory {
349349
/// # Examples
350350
///
351351
/// ```
352-
/// # use sys_util::{GuestAddress, GuestMemory};
352+
/// # use memory_model::{GuestAddress, GuestMemory};
353353
/// # fn test_host_addr() -> Result<(), ()> {
354354
/// let start_addr = GuestAddress(0x1000);
355355
/// let mut gm = GuestMemory::new(&vec![(start_addr, 0x500)]).map_err(|_| ())?;

0 commit comments

Comments
 (0)