Update decoder.rs

This commit is contained in:
Rob Ede 2021-06-03 18:20:01 +01:00 committed by GitHub
parent 4f2660a981
commit 1d0a7c1964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ where
ContentEncoding::Zstd => Some(ContentDecoder::Zstd(Box::new( ContentEncoding::Zstd => Some(ContentDecoder::Zstd(Box::new(
ZstdDecoder::new(Writer::new()) ZstdDecoder::new(Writer::new())
.expect( .expect(
"Failed to create zstd decoder. This is a bug and should normally happen. \ "Failed to create zstd decoder. This is a bug. \
Please report it to the actix-web repository." Please report it to the actix-web repository."
), ),
))), ))),