From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id B11D561BE9 for ; Tue, 18 Jan 2022 15:34:51 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9B7B92C018 for ; Tue, 18 Jan 2022 15:34:51 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id CD32D2C00E for ; Tue, 18 Jan 2022 15:34:50 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 7FFC7460E5 for ; Tue, 18 Jan 2022 15:25:53 +0100 (CET) From: Matthias Heiserer To: pbs-devel@lists.proxmox.com Date: Tue, 18 Jan 2022 15:25:43 +0100 Message-Id: <20220118142543.3732676-1-m.heiserer@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [wikipedia.org, mod.rs, sgutils2.rs] Subject: [pbs-devel] [PATCH proxmox-backup 1/1] docs: make external hyperlinks clickable X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2022 14:34:51 -0000 rustdoc lints detected that two external hyperlinks were not clickable. Signed-off-by: Matthias Heiserer --- 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 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 pub fn read_stat(&self) -> std::io::Result> { if let Some(stat) = self.read_sys(Path::new("stat"))? { let stat = unsafe { std::str::from_utf8_unchecked(&stat) }; -- 2.30.2