3 ms·
`impl` exists now, so you can write pub fn read(path: impl AsRef<Path>) -> io::Result<Vec<u8>> { in Rust without needing to declare P separately.
by nneonneo 4y ago
`impl` exists now, so you can write
pub fn read(path: impl AsRef<Path>) -> io::Result<Vec<u8>> {
in Rust without needing to declare P separately.