This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
fb851242b7
rust
/
src
/
test
/
run-pass
/
task-comm-chan-cleanup2.rs
7 lines
106 B
Rust
Raw
Normal View
History
Unescape
Escape
Drop enqueued elements when a port is destructed. Closes #1155
2011-11-13 17:28:59 -06:00
use
std
;
fn
main
(
)
{
Camel case various core constructors
2012-08-27 16:22:25 -05:00
let
p
=
comm
::
Port
(
)
;
let
c
=
comm
::
Chan
(
p
)
;
Drop enqueued elements when a port is destructed. Closes #1155
2011-11-13 17:28:59 -06:00
comm
::
send
(
c
,
~
"
coffee
"
)
;
}
Reference in New Issue
Copy Permalink