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

Function path_to_path_buf

euralios_std/src/path.rs:983–986  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

981
982 #[test_case]
983 fn path_to_path_buf() {
984 let path_buf = Path::new("foo.txt").to_path_buf();
985 assert_eq!(path_buf, PathBuf::from("foo.txt"));
986 }
987
988 #[test_case]
989 fn path_has_root() {

Callers

nothing calls this directly

Calls 1

to_path_bufMethod · 0.80

Tested by

no test coverage detected