mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Fix existing syntactics nits.
This commit is contained in:
parent
7f935f010b
commit
8bb853f643
93 changed files with 393 additions and 397 deletions
|
@ -75,7 +75,7 @@ pub enum WindowEvent {
|
|||
}
|
||||
|
||||
impl Debug for WindowEvent {
|
||||
fn fmt(&self, f: &mut Formatter) -> Result<(),Error> {
|
||||
fn fmt(&self, f: &mut Formatter) -> Result<(), Error> {
|
||||
match *self {
|
||||
WindowEvent::Idle => write!(f, "Idle"),
|
||||
WindowEvent::Refresh => write!(f, "Refresh"),
|
||||
|
@ -130,7 +130,7 @@ pub trait WindowMethods {
|
|||
/// This is part of the windowing system because its implementation often involves OS-specific
|
||||
/// magic to wake the up window's event loop.
|
||||
fn create_compositor_channel(_: &Option<Rc<Self>>)
|
||||
-> (Box<CompositorProxy+Send>, Box<CompositorReceiver>);
|
||||
-> (Box<CompositorProxy + Send>, Box<CompositorReceiver>);
|
||||
|
||||
/// Requests that the window system prepare a composite. Typically this will involve making
|
||||
/// some type of platform-specific graphics context current. Returns true if the composite may
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue