Skip to content

Commit 17d4b2c

Browse files
virtio-queue: fix hyperlink in documentation
The new `cargo doc` pipeline in the CI highlighted the following issue: warning: this URL is not a hyperlink --> virtio-queue/src/desc/mod.rs:16:5 | 16 | /// https://docs.oasis-open.org/virtio/virtio/v1.3/csd01/virtio-v1.3-csd01.html#x1-720008 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: bare URLs are not automatically turned into clickable links = note: `#[warn(rustdoc::bare_urls)]` on by default help: use an automatic link instead | 16 | /// <https://docs.oasis-open.org/virtio/virtio/v1.3/csd01/virtio-v1.3-csd01.html#x1-720008> | + + warning: `virtio-queue` (lib doc) generated 1 warning (run `cargo fix --lib -p virtio-queue` to apply 1 suggestion) Signed-off-by: Stefano Garzarella <[email protected]>
1 parent c7588be commit 17d4b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtio-queue/src/desc/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub type Descriptor = RawDescriptor;
1313
/// This is a unified representation of the memory layout order
1414
/// for packed descriptors and split descriptors.
1515
/// This type corresponds to struct virtq_desc, see:
16-
/// https://docs.oasis-open.org/virtio/virtio/v1.3/csd01/virtio-v1.3-csd01.html#x1-720008
16+
/// <https://docs.oasis-open.org/virtio/virtio/v1.3/csd01/virtio-v1.3-csd01.html#x1-720008>
1717
#[repr(C)]
1818
#[derive(Clone, Copy, Debug, Default)]
1919
pub struct RawDescriptor(Le64, Le32, Le16, Le16);

0 commit comments

Comments
 (0)