From 90e4dc5f8fbd6cb28b60f4cdb42d67bd594d4c34 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Tue, 3 Dec 2024 11:20:30 +0100 Subject: [PATCH] api: webhook: doc: add indentation to list item ``` warning: doc list item without indentation --> proxmox-notify/src/api/webhook.rs:131:5 | 131 | /// (`400 Bad request`) | ^^ | = 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 | 131 | /// (`400 Bad request`) | ++ ``` Signed-off-by: Maximiliano Sandoval --- proxmox-notify/src/api/webhook.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-notify/src/api/webhook.rs b/proxmox-notify/src/api/webhook.rs index f786c36b..31c5c869 100644 --- a/proxmox-notify/src/api/webhook.rs +++ b/proxmox-notify/src/api/webhook.rs @@ -128,7 +128,7 @@ pub fn add_endpoint( /// Returns a `HttpError` if: /// - the passed `digest` does not match (`400 Bad request`) /// - parameters are ill-formed (empty header value, invalid base64, unknown header/secret) -/// (`400 Bad request`) +/// (`400 Bad request`) /// - an entity with the same name already exists (`400 Bad request`) /// - the configuration could not be saved (`500 Internal server error`) pub fn update_endpoint(