mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Move to latest hyper everywhere
This commit is contained in:
parent
ec79881471
commit
f80f99fe1e
15 changed files with 178 additions and 237 deletions
|
@ -7,7 +7,7 @@
|
|||
use geom::{Size2D, Point2D, SideOffsets2D, Rect};
|
||||
use geom::num::Zero;
|
||||
use std::cmp::{min, max};
|
||||
use std::fmt::{Debug, Formatter, Error};
|
||||
use std::fmt::{self, Debug, Formatter, Error};
|
||||
use std::ops::{Add, Sub};
|
||||
|
||||
bitflags!(
|
||||
|
@ -87,7 +87,7 @@ impl WritingMode {
|
|||
}
|
||||
}
|
||||
|
||||
impl Debug for WritingMode {
|
||||
impl fmt::Display for WritingMode {
|
||||
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error> {
|
||||
if self.is_vertical() {
|
||||
try!(write!(formatter, "V"));
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
pub use self::imp::{initialize, get, enter, exit};
|
||||
|
||||
bitflags! {
|
||||
#[derive(Debug)]
|
||||
flags TaskState: u32 {
|
||||
const SCRIPT = 0x01,
|
||||
const LAYOUT = 0x02,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue