dinomug to Programmer Humor • 2 years agoHow we see strings Rust/Cimagemessage-square13arrow-up153arrow-down10
arrow-up153arrow-down1imageHow we see strings Rust/Cdinomug to Programmer Humor • 2 years agomessage-square13
minus-square@nutomicAlink5•2 years agoGood explanation. However, OsString is not necessarily valid UTF-8/UTF-16 (in thay case, it could simply be String). The docs describe it pretty well. https://doc.rust-lang.org/std/ffi/struct.OsString.html
Good explanation. However,
OsString
is not necessarily valid UTF-8/UTF-16 (in thay case, it could simply beString
). The docs describe it pretty well.https://doc.rust-lang.org/std/ffi/struct.OsString.html