From: Matthias Heiserer <m.heiserer@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 1/1] docs: make external hyperlinks clickable
Date: Tue, 18 Jan 2022 15:25:43 +0100 [thread overview]
Message-ID: <20220118142543.3732676-1-m.heiserer@proxmox.com> (raw)
rustdoc lints detected that two external hyperlinks were not clickable.
Signed-off-by: Matthias Heiserer <m.heiserer@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
next reply other threads:[~2022-01-18 14:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-18 14:25 Matthias Heiserer [this message]
2022-01-18 15:42 ` [pbs-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220118142543.3732676-1-m.heiserer@proxmox.com \
--to=m.heiserer@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox