docs: clippy: add indentation to doc list items
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 <m.sandoval@proxmox.com> Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
7052972212
commit
77fe0f6954
@ -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
|
||||
|
@ -553,7 +553,7 @@ pub fn worker_is_active_local(upid: &UPID) -> bool {
|
||||
/// * ``worker-task-abort <UPID>``: calls [abort_local_worker]
|
||||
///
|
||||
/// * ``worker-task-status <UPID>``: 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<UPID, Error> {
|
||||
let args = if let Some(args) = args {
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user