Rustarmanriaziostringvspath
out of bounds crashes
ArmanRiazi
out of bounds crashes
•std::ffi::OSString—A platform-native string. It’s behavior is close to String but without a guarantee that it’s encoded as UTF-8 and that it won’t contain the zero byte (0x00).
•std::path::Path—A string-like type that is dedicated to handling filesystem paths.