mirror of
https://github.com/servo/servo.git
synced 2025-06-17 04:44:28 +00:00
Update to latest Rust.
This commit is contained in:
parent
8b47221ff8
commit
94202661c0
100 changed files with 439 additions and 379 deletions
|
@ -44,7 +44,7 @@ struct IFrameSize {
|
|||
impl IFrameSize {
|
||||
pub fn set_rect(&mut self, rect: Rect<f32>) {
|
||||
let future_chan = replace(&mut self.future_chan, None);
|
||||
do future_chan.map_move |future_chan| {
|
||||
do future_chan.map |future_chan| {
|
||||
let Size2D { width, height } = rect.size;
|
||||
future_chan.send(Size2D(width as uint, height as uint));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue