We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#[test] fn test_path_starts_with() { let path = PathBuf::from(r"C:\A\b"); assert!(path.starts_with(r"C:\a")); } #[test] fn test_path_ends_with() { let path = PathBuf::from(r"C:\a\b"); assert!(path.ends_with("B")); }