Camel case various core constructors
This commit is contained in:
parent
4ba9fdd362
commit
161a82e433
113 changed files with 530 additions and 545 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue