File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " bin-encode-decode"
3- version = " 1.1.25 "
3+ version = " 1.1.26 "
44readme = " README.md"
55edition = " 2024"
66authors = [" root@ltpp.vip" ]
Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ impl fmt::Display for EncodeError {
1717 match self {
1818 EncodeError :: CharsetError => write ! (
1919 f,
20- "EncodeError: Charset is invalid. Please ensure the charset contains exactly {} unique characters." ,
21- CHARSET_LEN
20+ "EncodeError: Charset is invalid. Please ensure the charset contains exactly {CHARSET_LEN} unique characters."
2221 ) ,
2322 }
2423 }
@@ -41,8 +40,7 @@ impl fmt::Display for DecodeError {
4140 match self {
4241 DecodeError :: CharsetError => write ! (
4342 f,
44- "DecodeError: Charset is invalid. Please ensure the charset contains exactly {} unique characters." ,
45- CHARSET_LEN
43+ "DecodeError: Charset is invalid. Please ensure the charset contains exactly {CHARSET_LEN} unique characters."
4644 ) ,
4745 }
4846 }
You can’t perform that action at this time.
0 commit comments