MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / StringDisplay

Class StringDisplay

aiscript-vm/src/string/utils.rs:9–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7/// the string.
8pub fn display_utf8_lossy(input: &[u8]) -> impl fmt::Display + '_ {
9 struct StringDisplay<'a>(&'a [u8]);
10
11 impl fmt::Display for StringDisplay<'_> {
12 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

Callers 1

display_utf8_lossyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected