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
rust
/
src
/
test
/
run-pass
/
task-comm-chan-cleanup3.rs
9 lines
126 B
Rust
Raw
Normal View
History
Unescape
Escape
stdlib: Run cleanups on data that fails to send
2011-11-14 13:49:56 -08:00
use
std
;
fn
main
(
)
{
let
c
=
{
Camel case various core constructors
2012-08-27 14:22:25 -07:00
let
p
=
comm
::
Port
(
)
;
comm
::
Chan
(
p
)
stdlib: Run cleanups on data that fails to send
2011-11-14 13:49:56 -08:00
}
;
Move the world over to using the new style string literals and types. Closes #2907.
2012-07-13 22:57:48 -07:00
comm
::
send
(
c
,
~
"
coffee
"
)
;
stdlib: Run cleanups on data that fails to send
2011-11-14 13:49:56 -08:00
}
Reference in New Issue
Copy Permalink