1
0

fix: fix bmap-rs error

This commit is contained in:
2026-03-01 21:00:20 +08:00
parent 49c9b00c11
commit eaa7814b18
3 changed files with 9 additions and 7 deletions

View File

@@ -3,7 +3,6 @@
//! This module is what user of this library should use.
mod marshaler;
//mod utilities;
use crate::bmap::{self, BMBOOL, CKDWORD, CKID, CKINT, CKSTRING, CKWORD, PBMVOID};
use std::cmp::Ordering;
@@ -322,7 +321,7 @@ macro_rules! libiter_len_body {
if $current_cnt >= $all_cnt {
0
} else {
$current_cnt - $all_cnt
$all_cnt - $current_cnt
}
};
}
@@ -332,7 +331,7 @@ macro_rules! libiter_size_hint_body {
if $current_cnt >= $all_cnt {
(0, Some(0))
} else {
let remaining = $current_cnt - $all_cnt;
let remaining = $all_cnt - $current_cnt;
(remaining, Some(remaining))
}
};

View File

@@ -1,4 +0,0 @@
//! BMap wrapper used utility stuff