Skip to content

Commit 55e2e16

Browse files
Revert "expose Strkey::MAX_ENCODED_LEN (doc-hidden) used in public to_string return"
This reverts commit fe66da8.
1 parent d622003 commit 55e2e16

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/strkey.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ impl Strkey {
3636
// SignedPayload is the longest strkey type.
3737
const MAX_PAYLOAD_LEN: usize = ed25519::SignedPayload::MAX_PAYLOAD_LEN;
3838
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);
39+
pub(crate) const MAX_ENCODED_LEN: usize = encode_len(Self::MAX_BINARY_LEN);
4140
const _ASSERTS: () = {
4241
assert!(Self::MAX_PAYLOAD_LEN == 100);
4342
assert!(Self::MAX_BINARY_LEN == 103);

0 commit comments

Comments
 (0)