Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Jan 18, 2025
1 parent d999e64 commit 90bff09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/connection/response/meta/mime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ impl Mime {

// Parse meta bytes only
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),
Err(e) => Err(Error::Decode(e)),
},
Expand Down

0 comments on commit 90bff09

Please sign in to comment.