Skip to content

Commit 431e7ac

Browse files
committed
Fix generic convert_special_to_empty_and_full_to_deleted again
1 parent b1e9c27 commit 431e7ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/raw/generic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ impl Group {
122122
/// - `FULL => DELETED`
123123
#[inline]
124124
pub fn convert_special_to_empty_and_full_to_deleted(&self) -> Group {
125-
let special = self.0 & repeat(0x80);
126-
Group(special + (!special >> 7))
125+
let full = !self.0 & repeat(0x80);
126+
Group(!full + (full >> 7))
127127
}
128128
}

0 commit comments

Comments
 (0)