summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSam Scott <sam@osohq.com>2020-12-06 23:51:20 -0500
committerSam Scott <sam@osohq.com>2020-12-06 23:51:20 -0500
commitc58a9bcd969de233afbeee00a65811ab6e2852c6 (patch)
treef1d090975cf868715606b26cd681dfbf59d38bda /tests
parentb7b2520107ecfca77520151c6dc3002442bf0f0b (diff)
Formatting.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_serialize.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_serialize.rs b/tests/test_serialize.rs
index c3c63fd..cc4492c 100644
--- a/tests/test_serialize.rs
+++ b/tests/test_serialize.rs
@@ -166,9 +166,7 @@ fn serialize_bytes() {
bytes: Bytes,
}
-
- impl serde::Serialize for Bytes
- {
+ impl serde::Serialize for Bytes {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
@@ -179,4 +177,4 @@ fn serialize_bytes() {
let bytes = Bytes(b"hello, world!");
let s = qs::to_string(&Query { bytes }).unwrap();
assert_eq!(s, "bytes=hello%2C+world%21");
-} \ No newline at end of file
+}