File tree 3 files changed +5
-12
lines changed
3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 5
5
- beta
6
6
- nightly
7
7
8
- branches :
9
- except :
10
- - dev
11
- - benches
12
-
13
- matrix :
8
+ jobs :
14
9
allow_failures :
15
10
- rust : nightly
16
-
17
- os :
18
- - linux
11
+ fast_finish : true
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " json"
3
- version = " 0.12.3 "
3
+ version = " 0.12.4 "
4
4
authors = [
" Maciej Hirsz <[email protected] >" ]
5
5
description = " JSON implementation in Rust"
6
6
repository = " https://github.com/maciejhirsz/json-rust"
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ macro_rules! array {
310
310
311
311
// Construct the actual array
312
312
( @END $( $i: expr, ) * ) => ( {
313
- let size = 0 $( + { let _ = || $i; 1 } ) * ;
313
+ let size = 0 $( + { let _ = & $i; 1 } ) * ;
314
314
let mut array = Vec :: with_capacity( size) ;
315
315
316
316
$(
@@ -404,7 +404,7 @@ macro_rules! object {
404
404
405
405
// Construct the actual object
406
406
( @END $( $k: expr => $v: expr, ) * ) => ( {
407
- let size = 0 $( + { let _ = || $k; 1 } ) * ;
407
+ let size = 0 $( + { let _ = & $k; 1 } ) * ;
408
408
let mut object = $crate:: object:: Object :: with_capacity( size) ;
409
409
410
410
$(
You can’t perform that action at this time.
0 commit comments