Skip to content

Commit 1c4ae7a

Browse files
committed
turn exec comment into doc comment
1 parent ed6c958 commit 1c4ae7a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

compiler/rustc_data_structures/src/profiling.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ impl SelfProfilerRef {
183183
}
184184
}
185185

186-
// This shim makes sure that calls only get executed if the filter mask
187-
// lets them pass. It also contains some trickery to make sure that
188-
// code is optimized for non-profiling compilation sessions, i.e. anything
189-
// past the filter check is never inlined so it doesn't clutter the fast
190-
// path.
186+
/// This shim makes sure that calls only get executed if the filter mask
187+
/// lets them pass. It also contains some trickery to make sure that
188+
/// code is optimized for non-profiling compilation sessions, i.e. anything
189+
/// past the filter check is never inlined so it doesn't clutter the fast
190+
/// path.
191191
#[inline(always)]
192192
fn exec<F>(&self, event_filter: EventFilter, f: F) -> TimingGuard<'_>
193193
where

0 commit comments

Comments
 (0)