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 2a89eb0 commit 7474c17Copy full SHA for 7474c17
src/math/mod.rs
@@ -6,7 +6,7 @@ macro_rules! force_eval {
6
};
7
}
8
9
-#[cfg(not(feature = "checked"))]
+#[cfg(not(debug_assertions))]
10
macro_rules! i {
11
($array:expr, $index:expr) => {
12
unsafe { *$array.get_unchecked($index) }
@@ -36,7 +36,7 @@ macro_rules! i {
36
37
38
39
-#[cfg(feature = "checked")]
+#[cfg(debug_assertions)]
40
41
42
*$array.get($index).unwrap()
@@ -60,7 +60,7 @@ macro_rules! i {
60
61
macro_rules! llvm_intrinsically_optimized {
62
(#[cfg($($clause:tt)*)] $e:expr) => {
63
- #[cfg(all(not(feature = "stable"), $($clause)*))]
+ #[cfg(all(feature = "unstable", $($clause)*))]
64
{
65
if true { // thwart the dead code lint
66
$e
0 commit comments