File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ pub struct DeleteVector {
29
29
}
30
30
31
31
impl DeleteVector {
32
- #[ allow( dead_code ) ]
32
+ #[ allow( unused ) ]
33
33
pub fn new ( roaring_treemap : RoaringTreemap ) -> DeleteVector {
34
34
DeleteVector {
35
35
inner : roaring_treemap,
@@ -50,13 +50,14 @@ impl DeleteVector {
50
50
/// The input slice must be strictly ordered in ascending order, and every value must be greater than all existing values already in the set.
51
51
///
52
52
/// # Errors
53
+ ///
53
54
/// Returns an error if the precondition is not met.
54
55
#[ allow( dead_code) ]
55
56
pub fn insert_positions ( & mut self , positions : & [ u64 ] ) -> Result < usize > {
56
57
if let Err ( err) = self . inner . append ( positions. iter ( ) . copied ( ) ) {
57
58
return Err ( Error :: new (
58
59
ErrorKind :: PreconditionFailed ,
59
- format ! ( "failed to bulk marks rows as deleted because {:?}" , err) ,
60
+ format ! ( "failed to marks rows as deleted because {:?}" , err) ,
60
61
) ) ;
61
62
}
62
63
Ok ( positions. len ( ) )
You can’t perform that action at this time.
0 commit comments