From f33cf4ca14708b416637c9cf9fa689ecaa846157 Mon Sep 17 00:00:00 2001 From: Edgar Luque Date: Thu, 6 Jan 2022 10:49:37 +0100 Subject: [PATCH] fix --- content/blog/zstd-streaming-in-rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/blog/zstd-streaming-in-rust.md b/content/blog/zstd-streaming-in-rust.md index 5c8f4d1..02861bd 100644 --- a/content/blog/zstd-streaming-in-rust.md +++ b/content/blog/zstd-streaming-in-rust.md @@ -72,7 +72,7 @@ let mut archive = tar::Archive::new(decoder); for entry in archive.entries()? { let entry = e.unwrap(); let path = entry.path().unwrap(); - let filename = path.file_name().expect("be a file"); + let filename = path.file_name().expect("exist"); // process each entry } ```