doc and tests fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-07-19 13:00:16 +02:00
parent 2b7f8dd5ea
commit a3399f4337
5 changed files with 26 additions and 8 deletions

View File

@ -191,7 +191,7 @@ mod tests {
#[test]
fn test_fsetxattr_fgetxattr() {
let path = "./tests/xattrs.txt";
let path = "./test-xattrs.txt";
let file = OpenOptions::new()
.write(true)
.create(true)

View File

@ -418,9 +418,10 @@ where
/// 'add_entry'. To Finish the file, call 'finish'
/// Example:
/// ```no_run
/// use proxmox_backup::tools::zip::*;
/// use tokio::fs::File;
/// use anyhow::{Error, Result};
/// use tokio::fs::File;
///
/// use pbs_tools::zip::{ZipEncoder, ZipEntry};
///
/// #[tokio::main]
/// async fn main() -> Result<(), Error> {