Camel case various core constructors
This commit is contained in:
parent
4ba9fdd362
commit
161a82e433
113 changed files with 530 additions and 545 deletions
|
|
@ -4,7 +4,6 @@ use std;
|
|||
import comm;
|
||||
import comm::send;
|
||||
import comm::Chan;
|
||||
import comm::chan;
|
||||
import comm::recv;
|
||||
import task;
|
||||
|
||||
|
|
@ -31,8 +30,8 @@ fn g(x: int, y: ~str) -> int {
|
|||
fn main() {
|
||||
let mut n: int = 2 + 3 * 7;
|
||||
let s: ~str = ~"hello there";
|
||||
let p = comm::port();
|
||||
let ch = comm::chan(p);
|
||||
let p = comm::Port();
|
||||
let ch = comm::Chan(p);
|
||||
task::spawn(|| a(ch) );
|
||||
task::spawn(|| b(ch) );
|
||||
let mut x: int = 10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue