Skip to content

Commit 76ea1aa

Browse files
committed
rust: remove unused rust_util_u64_be
1 parent 466a016 commit 76ea1aa

File tree

1 file changed

+0
-5
lines changed
  • src/rust/bitbox02-rust-c/src

1 file changed

+0
-5
lines changed

src/rust/bitbox02-rust-c/src/util.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ pub extern "C" fn rust_util_zero(mut dst: BytesMut) {
2626
util::zero(dst.as_mut())
2727
}
2828

29-
#[no_mangle]
30-
pub extern "C" fn rust_util_u64_be(v: u64, mut dst: BytesMut) {
31-
dst.as_mut().copy_from_slice(&v.to_be_bytes())
32-
}
33-
3429
/// Convert bytes to hex representation
3530
///
3631
/// * `buf` - bytes to convert to hex.

0 commit comments

Comments
 (0)