Skip to content

Commit

Permalink
Fix unused_mut warning.
Browse files Browse the repository at this point in the history
Likely related to rust-lang/rust#110849
  • Loading branch information
kaivol committed May 3, 2023
1 parent 2e7f99d commit 1fe777a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/libs/core/src/strings/hstring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl HSTRING {
return Ok(Self::new());
}

let mut ptr = Header::alloc(len)?;
let ptr = Header::alloc(len)?;

// Place each utf-16 character into the buffer and
// increase len as we go along.
Expand Down

0 comments on commit 1fe777a

Please sign in to comment.