Bump serde to 1.0

This commit is contained in:
Bastien Orivel 2017-06-14 18:31:09 +02:00 committed by Simon Sapin
parent e1bce24129
commit 76d8573393
60 changed files with 487 additions and 474 deletions

View file

@ -10,16 +10,16 @@ name = "script_layout_interface"
path = "lib.rs"
[dependencies]
app_units = "0.4.1"
app_units = "0.5"
atomic_refcell = "0.1"
canvas_traits = {path = "../canvas_traits"}
cssparser = "0.14.0"
euclid = "0.14.4"
cssparser = "0.15"
euclid = "0.15"
gfx_traits = {path = "../gfx_traits"}
heapsize = "0.4"
heapsize_derive = "0.1"
html5ever = "0.17"
ipc-channel = "0.7"
html5ever = "0.18"
ipc-channel = "0.8"
libc = "0.2"
log = "0.3.5"
msg = {path = "../msg"}

View file

@ -29,7 +29,7 @@ impl ParseErrorReporter for CSSErrorReporter {
url: &ServoUrl,
line_number_offset: u64) {
let location = input.source_location(position);
let line_offset = location.line + line_number_offset as usize;
let line_offset = location.line + line_number_offset as u32;
if log_enabled!(log::LogLevel::Info) {
info!("Url:\t{}\n{}:{} {}",
url.as_str(),