Re-export io::stdio::cleanup instead of wrap it

This commit is contained in:
bjorn3 2021-09-18 14:48:32 +02:00
parent 17f418155e
commit bf9e6e5598

View file

@ -299,9 +299,7 @@ mod util;
const DEFAULT_BUF_SIZE: usize = crate::sys_common::io::DEFAULT_BUF_SIZE;
pub(crate) fn cleanup() {
stdio::cleanup()
}
pub(crate) use stdio::cleanup;
struct Guard<'a> {
buf: &'a mut Vec<u8>,