mirror of https://github.com/zcash/orchard.git
Fix beta clippy complaints.
This commit is contained in:
parent
7080c37532
commit
4c9b2096dc
|
@ -21,6 +21,9 @@ and this project adheres to Rust's notion of
|
||||||
- `impl memuse::DynamicUsage for OrchardDomain`
|
- `impl memuse::DynamicUsage for OrchardDomain`
|
||||||
- `orchard::builder::SpendInfo::new`
|
- `orchard::builder::SpendInfo::new`
|
||||||
- `orchard::circuit::Circuit::from_action_context`
|
- `orchard::circuit::Circuit::from_action_context`
|
||||||
|
- impls of `Eq` for:
|
||||||
|
- `orchard::zip32::ChildIndex`
|
||||||
|
- `orchard::value::ValueSum`
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Migrated to `zcash_note_encryption 0.2`.
|
- Migrated to `zcash_note_encryption 0.2`.
|
||||||
|
|
|
@ -144,7 +144,7 @@ pub(crate) enum Sign {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A sum of Orchard note values.
|
/// A sum of Orchard note values.
|
||||||
#[derive(Clone, Copy, Debug, Default, PartialEq)]
|
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
|
||||||
pub struct ValueSum(i128);
|
pub struct ValueSum(i128);
|
||||||
|
|
||||||
impl ValueSum {
|
impl ValueSum {
|
||||||
|
|
|
@ -65,7 +65,7 @@ impl FvkTag {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A hardened child index for a derived key.
|
/// A hardened child index for a derived key.
|
||||||
#[derive(Copy, Clone, Debug, PartialEq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
pub struct ChildIndex(u32);
|
pub struct ChildIndex(u32);
|
||||||
|
|
||||||
impl TryFrom<u32> for ChildIndex {
|
impl TryFrom<u32> for ChildIndex {
|
||||||
|
|
Loading…
Reference in New Issue