vhost_user: format links in docs correctly

This resolves a rustdoc warning, and makes the links appear as links
in the rendered documentation.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
This commit is contained in:
Alyssa Ross 2025-03-27 13:30:41 +01:00 committed by Erik Schilling
parent 1e444b5b19
commit c0f8a9f4f4
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ impl BackendInternal {
/// Proxy for sending messages from the backend to the fronted
/// over the socket obtained from VHOST_USER_GPU_SET_SOCKET.
/// The protocol is documented here: https://www.qemu.org/docs/master/interop/vhost-user-gpu.html
/// The protocol is documented here: <https://www.qemu.org/docs/master/interop/vhost-user-gpu.html>
#[derive(Clone)]
pub struct GpuBackend {
// underlying Unix domain socket for communication

View file

@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
//! Implementation parts of the protocol on the socket from VHOST_USER_SET_GPU_SOCKET
//! see: https://www.qemu.org/docs/master/interop/vhost-user-gpu.html
//! see: <https://www.qemu.org/docs/master/interop/vhost-user-gpu.html>
use super::enum_value;
use crate::vhost_user::message::{MsgHeader, Req, VhostUserMsgValidator};