From d430b05ec3ef0725b437e205922e34f51b463129 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Tue, 3 Dec 2024 14:41:38 +0100 Subject: [PATCH] datastore: docs: escape Fixes the cargo doc lint: ``` warning: unclosed HTML tag `uuid` --> pbs-datastore/src/datastore.rs:60:41 | 60 | /// - could not stat /dev/disk/by-uuid/ | ^^^^^^ | = note: `#[warn(rustdoc::invalid_html_tags)]` on by default warning: unclosed HTML tag `uuid` --> pbs-datastore/src/datastore.rs:61:26 | 61 | /// - /dev/disk/by-uuid/ is not a block device ``` Signed-off-by: Maximiliano Sandoval --- pbs-datastore/src/datastore.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pbs-datastore/src/datastore.rs b/pbs-datastore/src/datastore.rs index cf55befa..0801b4bf 100644 --- a/pbs-datastore/src/datastore.rs +++ b/pbs-datastore/src/datastore.rs @@ -56,9 +56,9 @@ pub fn check_backup_owner(owner: &Authid, auth_id: &Authid) -> Result<(), Error> /// returning false. /// /// Reasons it could fail other than not being mounted where expected: -/// - could not read /proc/self/mountinfo -/// - could not stat /dev/disk/by-uuid/ -/// - /dev/disk/by-uuid/ is not a block device +/// - could not read `/proc/self/mountinfo` +/// - could not stat `/dev/disk/by-uuid/` +/// - `/dev/disk/by-uuid/` is not a block device /// /// Since these are very much out of our control, there is no real value in distinguishing /// between them, so for this function they all are treated as 'device not mounted'