From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 5DA9F1FF160 for ; Wed, 7 Aug 2024 09:44:23 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D12429E1; Wed, 7 Aug 2024 09:44:31 +0200 (CEST) From: Maximiliano Sandoval To: pbs-devel@lists.proxmox.com Date: Wed, 7 Aug 2024 09:43:49 +0200 Message-Id: <20240807074356.83378-3-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240807074356.83378-1-m.sandoval@proxmox.com> References: <20240807074356.83378-1-m.sandoval@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 1 AWL 0.117 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy FSL_BULK_SIG 0.001 Bulk signature with no Unsubscribe KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RAZOR2_CF_RANGE_51_100 1.886 Razor2 gives confidence level above 50% RAZOR2_CHECK 0.922 Listed in Razor2 (http://razor.sf.net/) RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. 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. [types.rs, github.io] Subject: [pbs-devel] [PATCH proxmox 03/10] docs: clippy: add indentation to doc list items 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: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" Fixes the clippy warning: warning: doc list item missing indentation --> proxmox-subscription/src/subscription_info.rs:179:9 | 179 | /// (this mode is used to decide whether to refresh the subscription information) | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `#[warn(clippy::doc_lazy_continuation)]` on by default help: indent this line | 179 | /// (this mode is used to decide whether to refresh the subscription information) | + Signed-off-by: Maximiliano Sandoval --- proxmox-auth-api/src/types.rs | 2 +- proxmox-rest-server/src/worker_task.rs | 2 +- proxmox-subscription/src/subscription_info.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/proxmox-auth-api/src/types.rs b/proxmox-auth-api/src/types.rs index 21136824..25e5feff 100644 --- a/proxmox-auth-api/src/types.rs +++ b/proxmox-auth-api/src/types.rs @@ -14,7 +14,7 @@ //! * [`TokennameRef`]: a borrowed `Tokenname` (`str` equivalent). //! * [`Userid`]: an owned user id (`"user@realm"`). //! * [`Authid`]: an owned Authentication ID (a `Userid` with an optional `Tokenname`). -//! Note that `Userid` and `Authid` do not have a separate borrowed type. +//! Note that `Userid` and `Authid` do not have a separate borrowed type. //! //! Note that `Username`s are not unique, therefore they do not implement `Eq` and cannot be //! compared directly. If a direct comparison is really required, they can be compared as strings diff --git a/proxmox-rest-server/src/worker_task.rs b/proxmox-rest-server/src/worker_task.rs index 8691748e..62e5893f 100644 --- a/proxmox-rest-server/src/worker_task.rs +++ b/proxmox-rest-server/src/worker_task.rs @@ -553,7 +553,7 @@ pub fn worker_is_active_local(upid: &UPID) -> bool { /// * ``worker-task-abort ``: calls [abort_local_worker] /// /// * ``worker-task-status ``: return true of false, depending on -/// whether the worker is running or stopped. +/// whether the worker is running or stopped. pub fn register_task_control_commands(commando_sock: &mut CommandSocket) -> Result<(), Error> { fn get_upid(args: Option<&Value>) -> Result { let args = if let Some(args) = args { diff --git a/proxmox-subscription/src/subscription_info.rs b/proxmox-subscription/src/subscription_info.rs index ae40dbff..a86572d0 100644 --- a/proxmox-subscription/src/subscription_info.rs +++ b/proxmox-subscription/src/subscription_info.rs @@ -176,7 +176,7 @@ impl SubscriptionInfo { /// - Signed instances are valid for up to a year, clamped by the next due date /// - Unsigned instances are valid for 30+5 days /// - If `recheck` is set to `true`, unsigned instances are only treated as valid for 5 days - /// (this mode is used to decide whether to refresh the subscription information) + /// (this mode is used to decide whether to refresh the subscription information) /// /// If the criteria are not met, `status` is set to [SubscriptionStatus::Invalid] and `message` /// to a human-readable error message. -- 2.39.2 _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel