Camel case various core constructors

This commit is contained in:
Brian Anderson 2012-08-27 14:22:25 -07:00
parent 4ba9fdd362
commit 161a82e433
113 changed files with 530 additions and 545 deletions

View file

@ -5,7 +5,7 @@ fn main() {
drop {}
}
let x = ~mut Some(foo(comm::port()));
let x = ~mut Some(foo(comm::Port()));
do task::spawn |move x| { //~ ERROR not a sendable value
let mut y = None;

View file

@ -9,7 +9,7 @@ struct foo {
fn main() {
let cat = ~"kitty";
let po = comm::port(); //~ ERROR missing `send`
let ch = comm::chan(po); //~ ERROR missing `send`
let po = comm::Port(); //~ ERROR missing `send`
let ch = comm::Chan(po); //~ ERROR missing `send`
comm::send(ch, foo(42, @cat)); //~ ERROR missing `send`
}