Skip to content

Commit a962686

Browse files
Bump rustfmt version
Also switches on formatting of the mir build module
1 parent 7b7be2f commit a962686

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/src/default.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,11 @@ macro_rules! default_impl {
173173
impl Default for $t {
174174
#[inline]
175175
#[doc = $doc]
176-
fn default() -> $t { $v }
176+
fn default() -> $t {
177+
$v
178+
}
177179
}
178-
}
180+
};
179181
}
180182

181183
default_impl! { (), (), "Returns the default value of `()`" }

0 commit comments

Comments
 (0)