compression: don't use tokio::main in doctest
because we have no rt feature enabled Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
99add1733c
commit
79ac8d7344
@ -439,8 +439,8 @@ where
|
||||
///
|
||||
/// use proxmox_compression::zip::{ZipEncoder, ZipEntry};
|
||||
///
|
||||
/// #[tokio::main]
|
||||
/// async fn main() -> Result<(), Error> {
|
||||
/// //#[tokio::main]
|
||||
/// async fn main_() -> Result<(), Error> {
|
||||
/// let target = File::open("foo.zip").await?;
|
||||
/// let mut source = File::open("foo.txt").await?;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user