mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 05:14:27 +00:00
fn cold_path
doesn't need to be pub
This commit is contained in:
parent
1279b3b923
commit
c2c2e8dde1
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user