Fixing a Unicode issue
Apparently Gitea was having an issue with the Unicode encoding used for the apostrophe. I have edited it in Gitea to fix it. Signed-off-by: Myrddin Dundragon <myrddin@cybermages.tech>
This commit is contained in:
parent
a926e08061
commit
cd50b53be5
@ -190,7 +190,7 @@ impl<T> TokenStream<T>
|
|||||||
///
|
///
|
||||||
/// # Safety
|
/// # Safety
|
||||||
/// Uses `unsafe` to split borrows for individual mutable access
|
/// Uses `unsafe` to split borrows for individual mutable access
|
||||||
/// to components of the token without violating Rust’s aliasing rules.
|
/// to components of the token without violating Rust's aliasing rules.
|
||||||
pub fn get_mut(&mut self, index: usize) -> Option<TokenMut<'_, T>>
|
pub fn get_mut(&mut self, index: usize) -> Option<TokenMut<'_, T>>
|
||||||
{
|
{
|
||||||
if index < self.lexemes.len()
|
if index < self.lexemes.len()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user