fn cold_path
doesn't need to be pub
This commit is contained in:
parent
1279b3b923
commit
c2c2e8dde1
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ use std::slice;
|
||||||
|
|
||||||
#[inline(never)]
|
#[inline(never)]
|
||||||
#[cold]
|
#[cold]
|
||||||
pub fn cold_path<F: FnOnce() -> R, R>(f: F) -> R {
|
fn cold_path<F: FnOnce() -> R, R>(f: F) -> R {
|
||||||
f()
|
f()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue