diff --git a/examples/write-large-file.rs b/examples/write-large-file.rs index c30c52bb..772e509d 100644 --- a/examples/write-large-file.rs +++ b/examples/write-large-file.rs @@ -5,7 +5,7 @@ use std::io::Write; use zip::write::SimpleFileOptions; fn main() -> Result<(), Box> { if !cfg!(feature = "_deflate-any") { - return Err("Please enable one of the deflate features"); + return Err("Please enable one of the deflate features".into()); } let args: Vec<_> = std::env::args().collect(); if args.len() < 2 {