Skip to content

Commit

Permalink
Update to rust master
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Nov 23, 2014
1 parent 68b01d6 commit fe39cb9
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 52 deletions.
112 changes: 67 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ git = "https://github.com/alexcrichton/git2-rs"
[dependencies.openssl]
git = "https://github.com/sfackler/rust-openssl"

[dependencies.time]
git = "https://github.com/rust-lang/time"
[dependencies]
time = "*"

[dev-dependencies.conduit-test]
git = "https://github.com/conduit-rust/conduit-test"
Expand Down
1 change: 0 additions & 1 deletion src/bin/server.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
extern crate "cargo-registry" as cargo_registry;
extern crate "conduit-middleware" as conduit_middleware;
extern crate civet;
extern crate green;
extern crate git2;

use std::os;
Expand Down
4 changes: 2 additions & 2 deletions src/tests/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ fn json<T>(r: &mut conduit::Response) -> T
(k, fixup(v))
}).collect())
}
json::List(list) => {
json::List(list.into_iter().map(fixup).collect())
json::Array(list) => {
json::Array(list.into_iter().map(fixup).collect())
}
j => j,
}
Expand Down
4 changes: 2 additions & 2 deletions src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ pub fn json_response<'a, T>(t: &T) -> Response
(k, fixup(v))
}).collect())
}
json::List(list) => {
json::List(list.into_iter().map(fixup).collect())
json::Array(list) => {
json::Array(list.into_iter().map(fixup).collect())
}
j => j,
}
Expand Down

0 comments on commit fe39cb9

Please sign in to comment.