serde: docs: escape html tags

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@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
Maximiliano Sandoval 2024-08-07 09:43:54 +02:00 committed by Thomas Lamprecht
parent 2794c137d5
commit c8352531e4

View File

@ -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:
/// ```