mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
rename variable
This commit is contained in:
parent
d999e64e02
commit
90bff09269
1 changed files with 1 additions and 1 deletions
|
|
@ -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)),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue