Skip to content

Commit f9548f9

Browse files
committed
rix fustfmt
1 parent f615079 commit f9548f9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/tests/serde.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ use crate::{
1616
timestamp_as_u32,
1717
u32_as_timestamp,
1818
},
19+
serialize_to_bson,
1920
serialize_to_document,
2021
spec::BinarySubtype,
2122
tests::LOCK,
22-
serialize_to_bson,
2323
Binary,
2424
Bson,
2525
DateTime,

src/tests/spec/corpus.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,12 @@ fn run_test(test: TestFile) {
133133
.expect(&description);
134134

135135
let canonical_owned_raw_bson_from_slice =
136-
crate::deserialize_from_slice::<RawBson>(canonical_bson.as_slice()).expect(&description);
136+
crate::deserialize_from_slice::<RawBson>(canonical_bson.as_slice())
137+
.expect(&description);
137138

138139
let canonical_raw_document_from_slice =
139-
crate::deserialize_from_slice::<&RawDocument>(canonical_bson.as_slice()).expect(&description);
140+
crate::deserialize_from_slice::<&RawDocument>(canonical_bson.as_slice())
141+
.expect(&description);
140142

141143
// These cover the ways to serialize those [`Documents`] back to BSON.
142144
let mut documenttowriter_documentfromreader_cb = Vec::new();

0 commit comments

Comments
 (0)