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 validates the path
B
It avoids monomorphization
C
Callers can pass &str, String, PathBuf or &Path without converting
D
It makes the function async