Skip to content

Commit 299adfd

Browse files
committed
formatting
1 parent 46e1d66 commit 299adfd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

primitives/examples/validator_messages_create_request.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ use serde_json::json;
33
use std::str::FromStr;
44

55
fn main() {
6-
76
let messages_json = json!({
87
"messages": [
98
{
@@ -43,8 +42,7 @@ fn main() {
4342
]
4443
});
4544

46-
let messages_json =
47-
serde_json::to_string(&messages_json).expect("should serialize");
45+
let messages_json = serde_json::to_string(&messages_json).expect("should serialize");
4846

4947
// assert!(serde_json::from_str::<ValidatorMessagesCreateRequest>(&messages_json).is_ok());
5048
}

0 commit comments

Comments
 (0)