forked from M-Labs/rust-fatfs
Fix example in README file
This commit is contained in:
parent
8178908e06
commit
6ee7e3fc16
@ -44,7 +44,7 @@ Note: it is recommended to wrap the underlying file struct in a buffering/cachin
|
||||
|
||||
extern crate fscommon;
|
||||
let buf_stream = BufStream::new(img_file);
|
||||
let fs = fatfs::FileSystem::new(img_file, fatfs::FsOptions::new())?;
|
||||
let fs = fatfs::FileSystem::new(buf_stream, fatfs::FsOptions::new())?;
|
||||
|
||||
See more examples in the `examples` subdirectory.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user