Update for Rust library changes

This commit is contained in:
Patrick Walton 2012-10-11 12:56:51 -07:00
parent a0c2db053d
commit fa91fbdb76
3 changed files with 4 additions and 4 deletions

2
configure vendored
View file

@ -73,7 +73,7 @@ putvar() {
else
printf "configure: %-20s := %s %s\n" $1 "$T" "$2"
fi
printf "%-20s := %s\n" $1 "$T" >>${CFG_SRC_DIR}config.tmp
printf "%-20s ?= %s\n" $1 "$T" >>${CFG_SRC_DIR}config.tmp
}
probe() {

View file

@ -64,7 +64,7 @@ impl Window {
}
fn Window(content_port: Port<ControlMsg>) -> Window {
let content_chan = Chan(content_port);
let content_chan = Chan(&content_port);
Window {
timer_chan: do task::spawn_listener |timer_port: Port<TimerControlMsg>| {

View file

@ -55,7 +55,7 @@ fn css_link_listener(to_parent : comm::Chan<Stylesheet>, from_parent : comm::Por
match from_parent.recv() {
CSSTaskNewFile(url) => {
let result_port = comm::Port();
let result_chan = comm::Chan(result_port);
let result_chan = comm::Chan(&result_port);
// TODO: change copy to move once we have match move
let url = copy url;
task::spawn(|| {
@ -86,7 +86,7 @@ fn js_script_listener(to_parent : comm::Chan<~[~[u8]]>, from_parent : comm::Port
match from_parent.recv() {
JSTaskNewFile(url) => {
let result_port = comm::Port();
let result_chan = comm::Chan(result_port);
let result_chan = comm::Chan(&result_port);
// TODO: change copy to move once we have match move
let url = copy url;
do task::spawn || {