Closed hgrahamcs closed 1 year ago
Please see how to write doc first.
https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html https://doc.rust-lang.org/rust-by-example/meta/doc.html
Would you prefer line comments instead of block comments for documentation?
Would you prefer line comments instead of block comments for documentation?
Yes. Because all my projects use line comments.
Changed in 9fa0f95.
This line saved me a lot of troubles under Linux.
File::options().append(true).open("/dev/usb/lp0").unwrap();
I'm glad I could help!
@TheWaWaR any progress on reviewing this PR?
Do we need to bump to 0.5.2?
Yes, we should.
The documentation in docs.rs for escposify is lacking. I've added another example using
std::fs::File
to improve clarity as well as added usage examples todevice::File::from()
andprinter::Printer
.