Skip to content

Commit

Permalink
Updating for stricter rust kind checking rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
eholk committed May 23, 2012
1 parent fc36426 commit c50b336
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/servo/engine.rs
Expand Up @@ -5,7 +5,7 @@ enum msg {
exit(comm::chan<()>)
}

fn engine<S: renderer::sink send>(sink: S) -> comm::chan<msg> {
fn engine<S: renderer::sink send copy>(sink: S) -> comm::chan<msg> {

task::spawn_listener::<msg> {|self_ch|
// The renderer
Expand Down
2 changes: 1 addition & 1 deletion src/servo/gfx/renderer.rs
Expand Up @@ -19,7 +19,7 @@ iface sink {
fn draw(next_dt: chan<AzDrawTargetRef>, draw_me: AzDrawTargetRef);
}

fn renderer<S: sink send>(sink: S) -> chan<msg> {
fn renderer<S: sink send copy>(sink: S) -> chan<msg> {
task::spawn_listener::<msg> {|po|
listen {|draw_target_ch|
#debug("renderer: beginning rendering loop");
Expand Down

0 comments on commit c50b336

Please sign in to comment.