Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 02341d7

Browse files
authored
Make HStdout and HStderr Copy.
1 parent 25cb553 commit 02341d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hio.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use core::{fmt, slice};
44
use nr;
55

66
/// Host's standard error
7+
#[derive(Clone, Copy)]
78
pub struct HStderr {
89
fd: usize,
910
}
@@ -22,6 +23,7 @@ impl fmt::Write for HStderr {
2223
}
2324

2425
/// Host's standard output
26+
#[derive(Clone, Copy)]
2527
pub struct HStdout {
2628
fd: usize,
2729
}

0 commit comments

Comments
 (0)