Skip to content

Commit edb9d2b

Browse files
committed
cargo fmt + clippy
1 parent 3d541d8 commit edb9d2b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/documentation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ pub mod installation_guide {
1313
pub mod comparison_with_other_tools {
1414
//! # Comparison with other tools
1515
#![doc = include_str!("../docs/comparison_with_other_tools.md")]
16-
}
16+
}

src/gron_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@ fn test_primitives() {
6969
"null_val": null,
7070
"bool_val": true,
7171
"num_val": 42,
72-
"float_val": 3.14
72+
"float_val": 17.38
7373
});
7474

7575
let result = json_to_gron(&value);
7676
assert!(result.contains(r#"json.null_val = null;"#));
7777
assert!(result.contains(r#"json.bool_val = true;"#));
7878
assert!(result.contains(r#"json.num_val = 42;"#));
79-
assert!(result.contains(r#"json.float_val = 3.14;"#));
79+
assert!(result.contains(r#"json.float_val = 17.38;"#));
8080
}
8181

8282
#[test]

0 commit comments

Comments
 (0)