mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update Rust to 1.12.0-nightly (1deb02ea6 2016-08-12)
This commit is contained in:
parent
9f5122f487
commit
fc6faf72ee
7 changed files with 10 additions and 10 deletions
|
@ -23,7 +23,7 @@ use inline::{InlineMetrics, LAST_FRAGMENT_OF_ELEMENT};
|
|||
use ipc_channel::ipc::IpcSender;
|
||||
#[cfg(debug_assertions)]
|
||||
use layout_debug;
|
||||
use model::{self, Direction, IntrinsicISizes, IntrinsicISizesContribution, MaybeAuto, specified};
|
||||
use model::{self, Direction, IntrinsicISizes, IntrinsicISizesContribution, MaybeAuto};
|
||||
use msg::constellation_msg::PipelineId;
|
||||
use net_traits::image::base::{Image, ImageMetadata};
|
||||
use net_traits::image_cache_thread::{ImageOrMetadataAvailable, UsePlaceholder};
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
use hyper::method::Method;
|
||||
use net_traits::request::{CredentialsMode, Origin, Request};
|
||||
use std::ascii::AsciiExt;
|
||||
use time;
|
||||
use time::{now, Timespec};
|
||||
use time::{self, Timespec};
|
||||
use url::Url;
|
||||
|
||||
/// Union type for CORS cache entries
|
||||
|
|
|
@ -507,13 +507,13 @@ fn includes_credentials(input: &Url) -> bool {
|
|||
|
||||
// TODO: `Readable Stream` object is not implemented in Servo yet.
|
||||
// https://fetch.spec.whatwg.org/#concept-body-disturbed
|
||||
fn request_is_disturbed(input: &Request) -> bool {
|
||||
fn request_is_disturbed(_input: &Request) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
// TODO: `Readable Stream` object is not implemented in Servo yet.
|
||||
// https://fetch.spec.whatwg.org/#concept-body-locked
|
||||
fn request_is_locked(input: &Request) -> bool {
|
||||
fn request_is_locked(_input: &Request) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
|
|
5
components/servo/Cargo.lock
generated
5
components/servo/Cargo.lock
generated
|
@ -294,15 +294,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
name = "compiletest_helper"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"compiletest_rs 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"compiletest_rs 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "compiletest_rs"
|
||||
version = "0.1.3"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
@ -15,7 +15,7 @@ use std::cmp;
|
|||
use std::default::Default;
|
||||
use std::env;
|
||||
use std::fs::{self, File};
|
||||
use std::io::{self, Read, Write, stderr};
|
||||
use std::io::{self, Read, Write};
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::process;
|
||||
use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering};
|
||||
|
|
|
@ -1 +1 @@
|
|||
2016-08-05
|
||||
2016-08-13
|
||||
|
|
|
@ -10,4 +10,4 @@ path = "lib.rs"
|
|||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
compiletest_rs = "0.1.3"
|
||||
compiletest_rs = "0.2.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue