Skip to content

Define non-panicking UTF encoding methods on char #52579

Description

@strake

i.e. pub fn encode_utf8(self, &mut [u8]) -> Option<&mut str> which returns None if buffer too short

PR to follow

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-api[DEPRECATED; DO NOT USE]

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions