Practice
Learn
← Quit
0 / 0 correct
Rust
Medium
1 of 10
Why accept `impl AsRef<Path>` in a function like open_config(path)?
A
It avoids monomorphization
B
It makes the function async
C
Callers can pass &str, String, PathBuf or &Path without converting
D
It validates the path