[pbs-devel] [PATCH proxmox 08/10] serde: docs: escape html tags
Maximiliano Sandoval
m.sandoval at proxmox.com
Wed Aug 7 09:43:54 CEST 2024
Fixes the cargo docs warning:
warning: unclosed HTML tag `u8`
--> proxmox-serde/src/lib.rs:55:18
|
55 | /// Serialize Vec<u8> as base64 encoded string.
| ^^^^
|
= note: `#[warn(rustdoc::invalid_html_tags)]` on by default
help: try marking as source code
|
55 | /// Serialize `Vec<u8>` as base64 encoded string.
Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
proxmox-serde/src/lib.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxmox-serde/src/lib.rs b/proxmox-serde/src/lib.rs
index 88986698..c1628349 100644
--- a/proxmox-serde/src/lib.rs
+++ b/proxmox-serde/src/lib.rs
@@ -52,7 +52,7 @@ pub mod epoch_as_rfc3339 {
}
}
-/// Serialize Vec<u8> as base64 encoded string.
+/// Serialize `Vec<u8>` as base64 encoded string.
///
/// Usage example:
/// ```
--
2.39.2
More information about the pbs-devel
mailing list