fn read_file<T: FileSystem, P: AsRef<Path>>(fs: &T, path: P) -> io::Result<Vec<u8>> {
    let mut reader = fs.open(path)?;
    let mut result = vec![];
    reader.read_to_end(&mut result)?;
    Ok(result)
}
// Used to be part of the public API.
// Keep around for the tests.
Used to be part of the public API.
Keep around for the tests.
Used to be part of the public API . Keep around for the tests .
fn read_file<T: FileSystem, P: AsRef<Path>>(fs: &T, path: P) -> io::Result<Vec<u8>> {
    let mut reader = fs.open(path)?;
    let mut result = vec![];
    reader.read_to_end(&mut result)?;
    Ok(result)
}
fn read_file < T : FileSystem , P : AsRef < Path > > ( fs : & T , path : P ) -> io :: Result < Vec < u8 > > { let mut reader = fs . open ( path ) ? ; let mut result = vec ! [ ] ; reader . read_to_end ( & mut result ) ? ; Ok ( result ) }
Used to be part of the public API.
Used to be part of the public API .
fs
&T
path
P