Skip to content

Commit 0939b86

Browse files
committed
tidy
1 parent 97814dd commit 0939b86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_session/src/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ impl Session {
1010
/// Used by `-Z self-profile`.
1111
pub fn time<R>(&self, what: &'static str, f: impl FnOnce() -> R) -> R {
1212
if self.prof.enabled() {
13-
return self.prof.verbose_generic_activity(what).run(f)
13+
return self.prof.verbose_generic_activity(what).run(f);
1414
} else {
15-
return f()
15+
return f();
1616
}
1717
}
1818
}

0 commit comments

Comments
 (0)