Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

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

Merged
greymd merged 1 commit intogreymd:masterfrom
pandaman64:no-unsafe
Jul 1, 2020
Merged

Stop using /dev/null for dummy IO (removing all unsafes)#18
greymd merged 1 commit intogreymd:masterfrom
pandaman64:no-unsafe

Conversation

@pandaman64
Copy link
Contributor

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

@greymd
Copy link
Owner

greymd commented Jul 1, 2020

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

@greymd greymd merged commit 08251a9 into greymd:master Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants