Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Commit b0e6ba6

Browse files
authored
fix: incorrect variable name in text meta (#67)
1 parent 41690c9 commit b0e6ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

midix/src/file_repr/meta/text.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ impl<'a> BytesText<'a> {
2424
#[cfg(feature = "std")]
2525
let _v = std::str::from_utf8_mut(_self_mut).map_err(|_| ParseError::InvalidUtf8)?;
2626
#[cfg(feature = "nightly")]
27-
let _v = str::from_utf8_mut(self_mut).map_err(|_| ParseError::InvalidUtf8)?;
27+
let _v = str::from_utf8_mut(_self_mut).map_err(|_| ParseError::InvalidUtf8)?;
2828
#[cfg(all(not(feature = "std"), not(feature = "nightly")))]
2929
panic!("cannot get mutable reference to text without `std` or `nightly` features enabled!",);
3030
#[cfg(any(feature = "std", feature = "nightly"))]

0 commit comments

Comments
 (0)