Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@ rust:
- beta
- nightly

branches:
except:
- dev
- benches

matrix:
jobs:
allow_failures:
- rust: nightly

os:
- linux
fast_finish: true
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json"
version = "0.12.3"
version = "0.12.4"
authors = ["Maciej Hirsz <[email protected]>"]
description = "JSON implementation in Rust"
repository = "https://github.com/maciejhirsz/json-rust"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ macro_rules! array {

// Construct the actual array
(@END $( $i:expr, )*) => ({
let size = 0 $( + {let _ = || $i; 1} )*;
let size = 0 $( + {let _ = &$i; 1} )*;
let mut array = Vec::with_capacity(size);

$(
Expand Down Expand Up @@ -404,7 +404,7 @@ macro_rules! object {

// Construct the actual object
(@END $( $k:expr => $v:expr, )*) => ({
let size = 0 $( + {let _ = || $k; 1} )*;
let size = 0 $( + {let _ = &$k; 1} )*;
let mut object = $crate::object::Object::with_capacity(size);

$(
Expand Down