diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-09-18 14:48:32 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-10-03 18:53:52 +0200 |
| commit | bf9e6e5598fb714a2b2ba971f8a7404a877d7568 (patch) | |
| tree | 8c415671d3708a71e96d62214d39176d4f169bb7 /library/std/src | |
| parent | 17f418155e0bdb84c89b1c28eb6c86503d4cbefd (diff) | |
| download | rust-bf9e6e5598fb714a2b2ba971f8a7404a877d7568.tar.gz rust-bf9e6e5598fb714a2b2ba971f8a7404a877d7568.zip | |
Re-export io::stdio::cleanup instead of wrap it
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/io/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs index f8ebbe1cba7..399445b121f 100644 --- a/library/std/src/io/mod.rs +++ b/library/std/src/io/mod.rs @@ -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>, |
