Skip to content

Commit 0c7c379

Browse files
roypatdavidkleymann
authored andcommitted
doc: fix cargo doc warnings
Two bare links and two broken intra-doc links. Signed-off-by: Patrick Roy <[email protected]>
1 parent b07a390 commit 0c7c379

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

kvm-bindings/src/x86_64/fam_wrappers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ unsafe impl FamStruct for kvm_xsave2 {
192192
/// cannot happen in the [`FamStruct::len`] trait method. To work around this, we define a wrapper
193193
/// struct that caches the length of a previous `KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2)` call,
194194
/// and implement [`FamStruct`] for this wrapper. Then in kvm-ioctls, we can expose a function
195-
/// that first queries `KVM_CAP_XSAVE2`, then invokes [`KVM_GET_XSAVE2`] to retrieves the
195+
/// that first queries `KVM_CAP_XSAVE2`, then invokes `KVM_GET_XSAVE2` to retrieves the
196196
/// `kvm_xsave` structure, and finally combine them into the [`kvm_xsave2`] helper structure to be
197197
/// managed as a `FamStruct`.
198198
pub type Xsave = FamStructWrapper<kvm_xsave2>;

kvm-ioctls/src/ioctls/device.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ impl DeviceFd {
4545
///
4646
/// Configuring a VFIO device using `set_device_attr`. Note that VFIO
4747
/// devices are not yet available on RISC-V The patch for QEMU:
48-
/// https://lore.kernel.org/all/[email protected]/
48+
/// <https://lore.kernel.org/all/[email protected]/>
4949
/// and patch for linux kernel
50-
/// https://github.com/ventanamicro/linux/tree/dev-upstream are both not
50+
/// <https://github.com/ventanamicro/linux/tree/dev-upstream> are both not
5151
/// upstreamed. Disabling VFIO device test for RISC-V at the time being.
5252
///
5353
/// ```rust

kvm-ioctls/src/ioctls/vcpu.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1966,8 +1966,6 @@ impl VcpuFd {
19661966
/// // Next, serialize the actual state into a file or so.
19671967
/// }
19681968
/// ```
1969-
///
1970-
/// [`Kvm::check_extension_int`]: kvm_ioctls::Kvm::check_extension_int
19711969
#[cfg(target_arch = "x86_64")]
19721970
pub fn nested_state(
19731971
&self,

0 commit comments

Comments
 (0)