Skip to content

Do not merge yet - Fix the call to `char::encode_utf8`

Jeremy Soller requested to merge nounoursheureux:master into master

Created by: nounoursheureux

On Rust's current master the char::encode_utf8 has changed from

fn encode_utf8(self, dst: &mut [u8]) -> Option<usize>

to

fn encode_utf8(self) -> EncodeUtf8

So when we will update the Rust version used by Redox this lib will break. I am making this PR so that when we update Rust we can also update this library to use the new encode_utf8 function.

Merge request reports