[pbs-devel] [PATCH proxmox 02/10] api: webhook: doc: add indentation to list item

Maximiliano Sandoval m.sandoval at proxmox.com
Tue Dec 3 11:20:30 CET 2024


```
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 <m.sandoval at proxmox.com>
---
 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(
-- 
2.39.5





More information about the pbs-devel mailing list