Skip to content

Commit bf9e6e5

Browse files
committed
Re-export io::stdio::cleanup instead of wrap it
1 parent 17f4181 commit bf9e6e5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

library/std/src/io/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,7 @@ mod util;
299299

300300
const DEFAULT_BUF_SIZE: usize = crate::sys_common::io::DEFAULT_BUF_SIZE;
301301

302-
pub(crate) fn cleanup() {
303-
stdio::cleanup()
304-
}
302+
pub(crate) use stdio::cleanup;
305303

306304
struct Guard<'a> {
307305
buf: &'a mut Vec<u8>,

0 commit comments

Comments
 (0)