There was an error while loading. Please reload this page.
1 parent d622003 commit 55e2e16Copy full SHA for 55e2e16
1 file changed
src/strkey.rs
@@ -36,8 +36,7 @@ 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
- #[doc(hidden)]
40
- pub const MAX_ENCODED_LEN: usize = encode_len(Self::MAX_BINARY_LEN);
+ pub(crate) 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