[pbs-devel] [PATCH proxmox-backup 1/1] docs: make external hyperlinks clickable

Matthias Heiserer m.heiserer at proxmox.com
Tue Jan 18 15:25:43 CET 2022


rustdoc lints detected that two external hyperlinks were not clickable.

Signed-off-by: Matthias Heiserer <m.heiserer at proxmox.com>
---
 pbs-tape/src/sgutils2.rs | 2 +-
 src/tools/disks/mod.rs   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pbs-tape/src/sgutils2.rs b/pbs-tape/src/sgutils2.rs
index 33db4b5d..4e241c3b 100644
--- a/pbs-tape/src/sgutils2.rs
+++ b/pbs-tape/src/sgutils2.rs
@@ -90,7 +90,7 @@ impl SgPt {
 
 /// Peripheral device type text (see `inquiry` command)
 ///
-/// see [https://en.wikipedia.org/wiki/SCSI_Peripheral_Device_Type]
+/// see <https://en.wikipedia.org/wiki/SCSI_Peripheral_Device_Type>
 pub const PERIPHERAL_DEVICE_TYPE_TEXT: [&'static str; 32] = [
     "Disk Drive",
     "Tape Drive",
diff --git a/src/tools/disks/mod.rs b/src/tools/disks/mod.rs
index 2f7d8ce6..080e4ba6 100644
--- a/src/tools/disks/mod.rs
+++ b/src/tools/disks/mod.rs
@@ -469,7 +469,7 @@ impl Disk {
 
     /// Read block device stats
     ///
-    /// see https://www.kernel.org/doc/Documentation/block/stat.txt
+    /// see <https://www.kernel.org/doc/Documentation/block/stat.txt>
     pub fn read_stat(&self) -> std::io::Result<Option<BlockDevStat>> {
         if let Some(stat) = self.read_sys(Path::new("stat"))? {
             let stat = unsafe { std::str::from_utf8_unchecked(&stat) };
-- 
2.30.2






More information about the pbs-devel mailing list