From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- vendor/flate2/examples/zlibencoder-write.rs | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 vendor/flate2/examples/zlibencoder-write.rs (limited to 'vendor/flate2/examples/zlibencoder-write.rs') diff --git a/vendor/flate2/examples/zlibencoder-write.rs b/vendor/flate2/examples/zlibencoder-write.rs deleted file mode 100644 index 3e3548f..0000000 --- a/vendor/flate2/examples/zlibencoder-write.rs +++ /dev/null @@ -1,10 +0,0 @@ -use flate2::write::ZlibEncoder; -use flate2::Compression; -use std::io::prelude::*; - -// Vec implements Write to print the compressed bytes of sample string -fn main() { - let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); - e.write_all(b"Hello World").unwrap(); - println!("{:?}", e.finish().unwrap()); -} -- cgit v1.2.3