rename variable

This commit is contained in:
yggverse 2025-01-18 02:55:49 +02:00
parent d999e64e02
commit 90bff09269

View file

@ -23,7 +23,7 @@ impl Mime {
// Parse meta bytes only // Parse meta bytes only
match buffer.get(..if len > MAX_LEN { MAX_LEN } else { len }) { match buffer.get(..if len > MAX_LEN { MAX_LEN } else { len }) {
Some(utf8) => match std::str::from_utf8(utf8) { Some(b) => match std::str::from_utf8(b) {
Ok(s) => Self::from_string(s), Ok(s) => Self::from_string(s),
Err(e) => Err(Error::Decode(e)), Err(e) => Err(Error::Decode(e)),
}, },