]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
rust: fix reference to MemoryRegion
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Nov 2025 12:58:43 +0000 (13:58 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 27 Dec 2025 09:11:09 +0000 (10:11 +0100)
Use the wrapper struct, not the C one.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/bql/src/cell.rs

index 8ade7db629cfe204f971e7f586052594fdece55a..f4bfa697d3227c3eff1e70ba635063b86b157e4a 100644 (file)
 //! this rule is not flexible enough. Sometimes it is required to have multiple
 //! references to an object and yet mutate it. In particular, QEMU objects
 //! usually have their pointer shared with the "outside world very early in
-//! their lifetime", for example when they create their
-//! [`MemoryRegion`s](crate::bindings::MemoryRegion).  Therefore, individual
-//! parts of a  device must be made mutable in a controlled manner; this module
-//! provides the tools to do so.
+//! their lifetime", for example when they create their [`MemoryRegion`s].
+//! Therefore, individual parts of a  device must be made mutable in a
+//! controlled manner; this module provides the tools to do so.
+//!
+//! [`MemoryRegion`s]: ../../system/memory/struct.MemoryRegion.html
 //!
 //! ## Cell types
 //!