greymd / teip

Masking tape to help commands "do one thing well"
MIT License
569 stars 19 forks source link

Stop using /dev/null for dummy IO (removing all unsafes) #18

Closed pandaman64 closed 4 years ago

pandaman64 commented 4 years ago

This PR replaces /dev/null with io::empty() and io::sink() so that unsafe is no longer needed.

greymd commented 4 years ago

Thanks a million. Contributions from people who are familiar with Rust are quite helpful :)