Format with rustfmt 2018-11-30

This commit is contained in:
David Tolnay committed 2018-12-10 22:09:34 -08:00
1 parent 8b4074ee77
commit 16daba8ea9
6 files changed
+230 -154

No files matched your search

+4 -8
View File
@@ -96,10 +96,8 @@ where
#[derive(Debug, PartialEq, Serialize, Deserialize)]
struct DefaultTupleStruct<A, B, C>(
A,
#[serde(default)]
B,
#[serde(default = "MyDefault::my_default")]
C,
#[serde(default)] B,
#[serde(default = "MyDefault::my_default")] C,
)
where
C: MyDefault;
@@ -252,10 +250,8 @@ where
{
Tuple(
A,
#[serde(default)]
B,
#[serde(default = "MyDefault::my_default")]
C,
#[serde(default)] B,
#[serde(default = "MyDefault::my_default")] C,
),
}