Skip to content

Commit 85f2412

Browse files
authored
Fix missing spaces in JpegDecoder error message (#2433)
1 parent b22ba14 commit 85f2412

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/codecs/jpeg/decoder.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ impl<R: BufRead + Seek> ImageDecoder for JpegDecoder<R> {
110110
return Err(ImageError::Decoding(DecodingError::new(
111111
ImageFormat::Jpeg.into(),
112112
format!(
113-
"Length of the decoded data {actual_len}\
114-
doesn't match the advertised dimensions of the image\
113+
"Length of the decoded data {actual_len} \
114+
doesn't match the advertised dimensions of the image \
115115
that imply length {advertised_len}"
116116
),
117117
)));

0 commit comments

Comments
 (0)