Skip to content

Commit a1faa7c

Browse files
committed
Updated to rust nightly 2015-03-04
1 parent dd7c7bd commit a1faa7c

File tree

7 files changed

+67
-75
lines changed

7 files changed

+67
-75
lines changed

Cargo.lock

Lines changed: 42 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@ name = "cargo"
1010
path = "src/cargo/lib.rs"
1111

1212
[dependencies]
13-
toml = "0.1"
14-
semver = "0.1"
15-
curl = "0.2"
16-
tar = "0.2"
17-
flate2 = "0.2"
18-
git2 = "0.2"
19-
git2-curl = "0.2"
20-
glob = "0.2"
21-
time = "0.1"
22-
log = "0.2"
23-
env_logger = "0.2"
24-
docopt = "0.6"
25-
url = "0.2"
26-
rustc-serialize = "0.3"
27-
term = "0.1"
28-
regex = "0.1"
29-
threadpool = "0.1"
30-
libc = "0.1"
13+
toml = "0.1.18"
14+
semver = "0.1.16"
15+
curl = "0.2.1"
16+
tar = "0.2.3"
17+
flate2 = "0.2.0"
18+
git2 = "0.2.1"
19+
git2-curl = "0.2.1"
20+
glob = "0.2.2"
21+
time = "0.1.19"
22+
log = "0.2.5"
23+
env_logger = "0.2.2"
24+
docopt = "0.6.44"
25+
url = "0.2.23"
26+
rustc-serialize = "0.3.1"
27+
term = "0.1.13"
28+
regex = "0.1.17"
29+
threadpool = "0.1.1"
30+
libc = "0.1.2"
3131

3232
[target.i686-pc-windows-gnu.dependencies]
3333
winapi = "0.1"

src/bin/cargo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(collections, core, io, path, process, fs, env, std_misc, os, old_io)]
1+
#![feature(collections, core, io, path, fs, std_misc, os, old_io, exit_status)]
22

33
extern crate "git2-curl" as git2_curl;
44
extern crate "rustc-serialize" as rustc_serialize;

src/cargo/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![deny(unused)]
2-
#![feature(collections, hash, os, std_misc, unicode, env, core)]
3-
#![feature(io, path, str_words, process, fs, old_io)]
2+
#![feature(collections, hash, os, std_misc, unicode, core)]
3+
#![feature(io, path, str_words, fs, old_io, exit_status)]
44
#![cfg_attr(test, deny(warnings))]
55

66
#[cfg(test)] extern crate hamcrest;

src/cargo/ops/cargo_rustc/custom_build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ impl BuildOutput {
260260
let whence = format!("build script of `{}`", pkg_name);
261261

262262
for line in input.lines() {
263-
let mut iter = line.splitn(1, |&: c: char| c == ':');
263+
let mut iter = line.splitn(1, |c| c == ':');
264264
if iter.next() != Some("cargo") {
265265
// skip this line since it doesn't start with "cargo:"
266266
continue;
@@ -271,7 +271,7 @@ impl BuildOutput {
271271
};
272272

273273
// getting the `key=value` part of the line
274-
let mut iter = data.splitn(1, |&: c: char| c == '=');
274+
let mut iter = data.splitn(1, |c| c == '=');
275275
let key = iter.next();
276276
let value = iter.next();
277277
let (key, value) = match (key, value) {

src/cargo/sources/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ impl<'a, 'b> PathSource<'a, 'b> {
7777
pub fn list_files(&self, pkg: &Package) -> CargoResult<Vec<PathBuf>> {
7878
let root = pkg.root();
7979

80-
let parse = |&: p: &String| {
80+
let parse = |p: &String| {
8181
Pattern::new(p).map_err(|e| {
8282
human(format!("could not parse pattern `{}`: {}", p, e))
8383
})

src/rustversion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2015-02-27
1+
2015-03-04

0 commit comments

Comments
 (0)