Skip to content

Commit 1d81ba8

Browse files
bchaliosShadowCurse
authored andcommitted
chore: fix typo in comment
We were misspelling "retrieve". Signed-off-by: Babis Chalios <bchalios@amazon.es>
1 parent de05dad commit 1d81ba8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kvm-bindings/src/x86_64/fam_wrappers.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ unsafe impl FamStruct for kvm_xsave2 {
166166
/// cannot happen in the [`FamStruct::len`] trait method. To work around this, we define a wrapper
167167
/// struct that caches the length of a previous `KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2)` call,
168168
/// and implement [`FamStruct`] for this wrapper. Then in kvm-ioctls, we can expose a function
169-
/// that first queries `KVM_CAP_XSAVE2`, then invokes [`KVM_GET_XSAVE2`] to retrives the `kvm_xsave`
170-
/// structure, and finally combine them into the [`kvm_xsave2`] helper structure to be managed as a
171-
/// `FamStruct`.
169+
/// that first queries `KVM_CAP_XSAVE2`, then invokes [`KVM_GET_XSAVE2`] to retrieves the
170+
/// `kvm_xsave` structure, and finally combine them into the [`kvm_xsave2`] helper structure to be
171+
/// managed as a `FamStruct`.
172172
pub type Xsave = FamStructWrapper<kvm_xsave2>;
173173

174174
#[cfg(test)]

0 commit comments

Comments
 (0)