12 lines
169 B
Rust
12 lines
169 B
Rust
proto! stream {
|
|
stream:send<T:send> {
|
|
send(T) -> stream<T>
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
let (bc, _bp) = stream::init();
|
|
|
|
stream::client::send(bc, ~"abc");
|
|
}
|