diff --git a/src/disclosure.rs b/src/disclosure.rs index 25a1a23..4d91979 100644 --- a/src/disclosure.rs +++ b/src/disclosure.rs @@ -1,9 +1,9 @@ // Copyright 2020-2023 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -use std::fmt::Display; use crate::Error; use serde_json::Value; +use std::fmt::Display; /// Represents an elements constructing a disclosure. /// Object properties and array elements disclosures are supported. diff --git a/src/encoder.rs b/src/encoder.rs index a33e16a..e043ad1 100644 --- a/src/encoder.rs +++ b/src/encoder.rs @@ -16,7 +16,6 @@ use serde_json::Map; use serde_json::Value; pub(crate) const DIGESTS_KEY: &str = "_sd"; - pub(crate) const ARRAY_DIGEST_KEY: &str = "..."; pub(crate) const DEFAULT_SALT_RANGE: Range = 24..34;