[PATCH 0/2] rust/bits: Fix minor bugs in bits crate

Nguyen Dinh Phi <[email protected]> Mon, 3 Aug 2026 01:03:43 +0800
Newsgroups org.nongnu.qemu-rust,org.nongnu.qemu-devel
Message-ID <[email protected]>
These patches fix two minor bugs in bits crate

Nguyen Dinh Phi (2):
  rust/bits: Align SubAssign behavior with Sub
  rust/bits: Use checked_ilog2() in Binary::format to avoid panic

 rust/bits/src/lib.rs | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

-- 
2.53.0