Skip to content

Commit 407b44e

Browse files
committed
doc: Fix code snippet tag
cargo doc tag which marks a snippet not to be ran should be `no_run` instead of `norun`. Signed-off-by: Ruoqing He <[email protected]>
1 parent e477520 commit 407b44e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kvm-bindings/src/x86_64/fam_wrappers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pub struct kvm_xsave2 {
135135
/// Note that `KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2)` returns the size of the entire
136136
/// `kvm_xsave` structure, e.g. the sum of header and FAM. Thus, this `len` field
137137
/// is equal to
138-
/// ```norun
138+
/// ```no_run
139139
/// (KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2) - sizeof::<kvm_xsave>()).div_ceil(sizeof::<__u32>())
140140
/// ```
141141
pub len: usize,

0 commit comments

Comments
 (0)