Skip to content

Commit d0333a8

Browse files
committed
std: Make the DuplexStream constructor public
1 parent 90f959a commit d0333a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/comm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl<T: Send, U: Send> DuplexStream<T, U> : Selectable {
4646
}
4747

4848
/// Creates a bidirectional stream.
49-
fn DuplexStream<T: Send, U: Send>()
49+
pub fn DuplexStream<T: Send, U: Send>()
5050
-> (DuplexStream<T, U>, DuplexStream<U, T>)
5151
{
5252
let (c2, p1) = pipes::stream();

0 commit comments

Comments
 (0)