Use rustfmt to wrap and format comments

This commit is contained in:
David Tolnay
2018-08-14 22:32:27 -07:00
parent 5985b7edaf
commit cbfdba3826
11 changed files with 102 additions and 81 deletions
+3 -3
View File
@@ -989,9 +989,9 @@ impl Field {
}
}
// Is skip_deserializing, initialize the field to Default::default() unless a different
// default is specified by `#[serde(default = "...")]` on ourselves or our container (e.g.
// the struct we are in).
// Is skip_deserializing, initialize the field to Default::default() unless a
// different default is specified by `#[serde(default = "...")]` on
// ourselves or our container (e.g. the struct we are in).
if let Default::None = *container_default {
if skip_deserializing.0.value.is_some() {
default.set_if_none(Default::Default);