Skip to content

Commit c2c2e8d

Browse files
fn cold_path doesn't need to be pub
1 parent 1279b3b commit c2c2e8d

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_arena/src

1 file changed

+1
-1
lines changed

compiler/rustc_arena/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ use std::slice;
3232

3333
#[inline(never)]
3434
#[cold]
35-
pub fn cold_path<F: FnOnce() -> R, R>(f: F) -> R {
35+
fn cold_path<F: FnOnce() -> R, R>(f: F) -> R {
3636
f()
3737
}
3838

0 commit comments

Comments
 (0)