There was an error while loading. Please reload this page.
1 parent bfabae3 commit 2cf7817Copy full SHA for 2cf7817
1 file changed
src/strkey.rs
@@ -36,7 +36,8 @@ impl Strkey {
36
// SignedPayload is the longest strkey type.
37
const MAX_PAYLOAD_LEN: usize = ed25519::SignedPayload::MAX_PAYLOAD_LEN;
38
const MAX_BINARY_LEN: usize = binary_len(Self::MAX_PAYLOAD_LEN);
39
- pub(crate) const MAX_ENCODED_LEN: usize = encode_len(Self::MAX_BINARY_LEN);
+ #[doc(hidden)]
40
+ pub const MAX_ENCODED_LEN: usize = encode_len(Self::MAX_BINARY_LEN);
41
const _ASSERTS: () = {
42
assert!(Self::MAX_PAYLOAD_LEN == 100);
43
assert!(Self::MAX_BINARY_LEN == 103);
0 commit comments