We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb647f commit e71fa1dCopy full SHA for e71fa1d
src/raw/mod.rs
@@ -51,9 +51,7 @@ use self::imp::Group;
51
// Branch prediction hint. This is currently only available on nightly but it
52
// consistently improves performance by 10-15%.
53
#[cfg(not(feature = "nightly"))]
54
-use core::convert::identity as likely;
55
-#[cfg(not(feature = "nightly"))]
56
-use core::convert::identity as unlikely;
+use core::convert::{identity as likely, identity as unlikely};
57
#[cfg(feature = "nightly")]
58
use core::intrinsics::{likely, unlikely};
59
0 commit comments