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/deflateencoder-write.rs | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 vendor/flate2/examples/deflateencoder-write.rs (limited to 'vendor/flate2/examples/deflateencoder-write.rs') diff --git a/vendor/flate2/examples/deflateencoder-write.rs b/vendor/flate2/examples/deflateencoder-write.rs deleted file mode 100644 index f998e1a..0000000 --- a/vendor/flate2/examples/deflateencoder-write.rs +++ /dev/null @@ -1,10 +0,0 @@ -use flate2::write::DeflateEncoder; -use flate2::Compression; -use std::io::prelude::*; - -// Vec implements Write to print the compressed bytes of sample string -fn main() { - let mut e = DeflateEncoder::new(Vec::new(), Compression::default()); - e.write_all(b"Hello World").unwrap(); - println!("{:?}", e.finish().unwrap()); -} -- cgit v1.2.3