From: Paolo Bonzini Date: Wed, 26 Nov 2025 12:58:43 +0000 (+0100) Subject: rust: fix reference to MemoryRegion X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=966eee573a6bb8cabd2560a5aabe9ab013994323;p=thirdparty%2Fqemu.git rust: fix reference to MemoryRegion Use the wrapper struct, not the C one. Signed-off-by: Paolo Bonzini --- diff --git a/rust/bql/src/cell.rs b/rust/bql/src/cell.rs index 8ade7db629..f4bfa697d3 100644 --- a/rust/bql/src/cell.rs +++ b/rust/bql/src/cell.rs @@ -41,10 +41,11 @@ //! 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 //!