mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Updating for stricter rust kind checking rules.
This commit is contained in:
parent
fc36426beb
commit
c50b336363
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue