MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / OsStr_to_os_string

Function OsStr_to_os_string

euralios_std/src/ffi.rs:326–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

324
325 #[test_case]
326 fn OsStr_to_os_string() {
327 let os_str = OsStr::new("foo");
328 let os_string = os_str.to_os_string();
329 assert_eq!(os_string, OsString::from("foo"));
330 }
331
332 #[test_case]
333 fn OsString_with_capacity() {

Callers

nothing calls this directly

Calls 1

to_os_stringMethod · 0.80

Tested by

no test coverage detected