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:
Wolfgang Bumiller 2022-04-13 09:31:25 +02:00
parent 99add1733c
commit 79ac8d7344

View File

@ -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?;
///