mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-09 07:46:17 +00:00
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};
|
/// use proxmox_compression::zip::{ZipEncoder, ZipEntry};
|
||||||
///
|
///
|
||||||
/// #[tokio::main]
|
/// //#[tokio::main]
|
||||||
/// async fn main() -> Result<(), Error> {
|
/// async fn main_() -> Result<(), Error> {
|
||||||
/// let target = File::open("foo.zip").await?;
|
/// let target = File::open("foo.zip").await?;
|
||||||
/// let mut source = File::open("foo.txt").await?;
|
/// let mut source = File::open("foo.txt").await?;
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user