mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Upgrade to rustc ba2f13ef0 2015-02-04
This commit is contained in:
parent
bc6882bdef
commit
d5dd1d658e
136 changed files with 1091 additions and 878 deletions
|
@ -15,7 +15,7 @@ use msg::compositor_msg::{PaintState, ReadyState};
|
|||
use msg::constellation_msg::{Key, KeyState, KeyModifiers, LoadData};
|
||||
use util::cursor::Cursor;
|
||||
use util::geometry::ScreenPx;
|
||||
use std::fmt::{Error, Formatter, Show};
|
||||
use std::fmt::{Error, Formatter, Debug};
|
||||
use std::rc::Rc;
|
||||
|
||||
#[derive(Clone)]
|
||||
|
@ -70,7 +70,7 @@ pub enum WindowEvent {
|
|||
KeyEvent(Key, KeyState, KeyModifiers),
|
||||
}
|
||||
|
||||
impl Show for WindowEvent {
|
||||
impl Debug for WindowEvent {
|
||||
fn fmt(&self, f: &mut Formatter) -> Result<(),Error> {
|
||||
match *self {
|
||||
WindowEvent::Idle => write!(f, "Idle"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue