Skip to content

Commit 63af3e6

Browse files
author
Jorge Aparicio
committed
time: unbox closures used in let bindings
1 parent ab402c0 commit 63af3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libtime/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ impl<'a> fmt::Show for TmFmt<'a> {
596596
}
597597

598598
fn parse_type(fmt: &mut fmt::Formatter, ch: char, tm: &Tm) -> fmt::Result {
599-
let die = || {
599+
let die = |&:| {
600600
unreachable!()
601601
};
602602
match ch {

0 commit comments

Comments
 (0)