pvebc: Fix cargo doc warning

$ cargo doc
...
warning: unclosed HTML tag `u8`
  --> pvebc/src/ebc_utils.rs:25:43
   |
25 | /// Read all data from a reader into a Vec<u8>
   |                                           ^^^^
   |
   = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
help: try marking as source code
   |
25 | /// Read all data from a reader into a `Vec<u8>`
   |                                        +       +

Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Marc Hartmayer <marc@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2026-06-18 11:25:20 +02:00
committed by Jan Höppner
parent 3635a19462
commit 390e48869e
+1 -1
View File
@@ -22,7 +22,7 @@ pub fn get_reader(filepath: &Path) -> Result<Box<dyn Read>> {
.with_context(|| format!("unable to get reader from {:?}", filepath))
}
/// Read all data from a reader into a Vec<u8>
/// Read all data from a reader into a `Vec<u8>`
pub fn get_data(rd_in: &mut Box<dyn Read>) -> Result<Vec<u8>> {
let mut data_in = Vec::new();
rd_in