mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
3635a19462
commit
390e48869e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user