We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8ad7dc commit f35e035Copy full SHA for f35e035
src/macro_utils.rs
@@ -76,6 +76,7 @@ macro_rules! debug_bounds_check {
76
($self_:ident, $index:expr) => {};
77
}
78
79
+#[cfg(debug_assertions)]
80
macro_rules! debug_bounds_check_ref {
81
($self_:ident, $index:expr) => {
82
if $index.index_checked(&$self_._dim(), &$self_._strides()).is_none() {
0 commit comments