fn read_file_into<T, P, B>(fs: &T, path: P, mut buf: B) -> io::Result<usize>
        where
            T: FileSystem,
            P: AsRef<Path>,
            B: AsMut<Vec<u8>> {

    let mut reader = fs.open(path)?;
    reader.read_to_end(buf.as_mut())
}
// 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_into<T, P, B>(fs: &T, path: P, mut buf: B) -> io::Result<usize>
        where
            T: FileSystem,
            P: AsRef<Path>,
            B: AsMut<Vec<u8>> {
    let mut reader = fs.open(path)?;
    reader.read_to_end(buf.as_mut())
}
fn read_file_into < T , P , B > ( fs : & T , path : P , mut buf : B ) -> io :: Result < usize > where T : FileSystem , P : AsRef < Path > , B : AsMut < Vec < u8 > > { let mut reader = fs . open ( path ) ? ; reader . read_to_end ( buf . as_mut ( ) ) }
Used to be part of the public API.
Used to be part of the public API .
fs
&T
path
P
buf
B