aboutsummaryrefslogtreecommitdiff
path: root/rust/hw
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@intel.com>2025-05-20 23:27:50 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-05-26 18:04:27 +0200
commitaef5ac8624c7b826ae2adde48bc6997286ee1303 (patch)
tree5b3797edfe28fe5e499cbc214f1b960564af5925 /rust/hw
parent86c54a3a418e462e67444ac4db25b2757fd62079 (diff)
downloadqemu-aef5ac8624c7b826ae2adde48bc6997286ee1303.zip
qemu-aef5ac8624c7b826ae2adde48bc6997286ee1303.tar.gz
qemu-aef5ac8624c7b826ae2adde48bc6997286ee1303.tar.bz2
rust: Fix the typos in doc
These typos are found by "cargo spellcheck". Though it outputs a lot of noise and false positives, there still are some real typos. Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250520152750.2542612-6-zhao1.liu@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw')
-rw-r--r--rust/hw/char/pl011/src/device.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/hw/char/pl011/src/device.rs b/rust/hw/char/pl011/src/device.rs
index bde3be6..bd5cee0 100644
--- a/rust/hw/char/pl011/src/device.rs
+++ b/rust/hw/char/pl011/src/device.rs
@@ -480,13 +480,13 @@ impl PL011Registers {
}
impl PL011State {
- /// Initializes a pre-allocated, unitialized instance of `PL011State`.
+ /// Initializes a pre-allocated, uninitialized instance of `PL011State`.
///
/// # Safety
///
/// `self` must point to a correctly sized and aligned location for the
/// `PL011State` type. It must not be called more than once on the same
- /// location/instance. All its fields are expected to hold unitialized
+ /// location/instance. All its fields are expected to hold uninitialized
/// values with the sole exception of `parent_obj`.
unsafe fn init(&mut self) {
static PL011_OPS: MemoryRegionOps<PL011State> = MemoryRegionOpsBuilder::<PL011State>::new()