Skip to content

Commit

Permalink
fn cold_path doesn't need to be pub
Browse files Browse the repository at this point in the history
  • Loading branch information
henryboisdequin committed Jan 29, 2021
1 parent 1279b3b commit c2c2e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_arena/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use std::slice;

#[inline(never)]
#[cold]
pub fn cold_path<F: FnOnce() -> R, R>(f: F) -> R {
fn cold_path<F: FnOnce() -> R, R>(f: F) -> R {
f()
}

Expand Down

0 comments on commit c2c2e8d

Please sign in to comment.