From 7dd93708a7fcd54a0394f70babb5f1ac681b6f94 Mon Sep 17 00:00:00 2001 From: Isaac Holt Date: Fri, 20 Sep 2024 14:21:55 +0100 Subject: [PATCH] add borsh feature to readme --- README.md | 2 +- changes/v0.12.0 | 2 +- src/bint/mod.rs | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 60fc410..bcfb131 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ The `rand` feature allows creation of random `bnum` integers via the [`rand`](ht The `serde` feature enables serialization and deserialization of `bnum` integers via the [`serde`](https://docs.rs/serde/latest/serde/) and [`serde_big_array`](https://docs.rs/serde-big-array/latest/serde_big_array/) crates. -The `borsh` +The `borsh` feature enables serialization and deserialization of `bnum` integers via the [`borsh`](https://docs.rs/borsh/latest/borsh/) crate. ### `num_traits` and `num_integer` trait implementations diff --git a/changes/v0.12.0 b/changes/v0.12.0 index 0f046aa..4086aab 100644 --- a/changes/v0.12.0 +++ b/changes/v0.12.0 @@ -3,7 +3,7 @@ - `As` and `CastFrom` traits no longer const, as const trait support removed from latest nightly. - `cast_signed` method for unsigned integers. - `cast_unsigned` method for signed integers. -- `midpoint` method for unsigned integers. +- `midpoint` method for integers. - `carrying_add` and `borrowing_sub` methods for signed integers. - strict methods added. - added `(bnum) ` prefix to error messages that were lacking it. \ No newline at end of file diff --git a/src/bint/mod.rs b/src/bint/mod.rs index 46b31ec..644af1d 100644 --- a/src/bint/mod.rs +++ b/src/bint/mod.rs @@ -18,9 +18,6 @@ macro_rules! ilog { } } -// #[cfg(debug_assertions)] -// use crate::errors::option_expect; - use crate::digit; use crate::ExpType; use crate::{doc, errors};