Skip to content

Commit 89f9467

Browse files
authored
fix: fix wrong range in push_index_if_explain marco (#370)
1 parent b43e2c9 commit 89f9467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ macro_rules! register_g_function {
8080
macro_rules! push_index_if_explain {
8181
($this:ident) => {{
8282
#[cfg(feature = "explain")]
83-
if $this.cap > 1 {
83+
if $this.cap > 0 {
8484
$this.expl.push($this.idx);
8585
}
8686
}};

0 commit comments

Comments
 (0)