File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " json"
3
- version = " 0.8.2 "
3
+ version = " 0.8.4 "
4
4
authors = [" Maciej Hirsz <maciej.hirsz@gmail.com>" ]
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 @@ -58,6 +58,7 @@ pub trait Generator {
58
58
start = index + 1 ;
59
59
}
60
60
}
61
+ self . write ( string[ start ..] . as_bytes ( ) ) ;
61
62
62
63
self . write_char ( b'"' ) ;
63
64
}
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ fn stringify_array_with_push() {
280
280
281
281
#[ test]
282
282
fn stringify_escaped_characters ( ) {
283
- assert_eq ! ( stringify( "\r ____\n ___\t \u{8} \u{c} \\ \" " ) , r#""\r____\n___\t\b\f\\\"""# ) ;
283
+ assert_eq ! ( stringify( "\r ____\n ___\t \u{8} \u{c} \\ \" __ " ) , r#""\r____\n___\t\b\f\\\"__ ""# ) ;
284
284
}
285
285
286
286
#[ test]
You can’t perform that action at this time.
0 commit comments