Skip to content

Commit 2357024

Browse files
committed
fixup: rework docs
Signed-off-by: Daniel Noland <daniel@githedgehog.com>
1 parent 5cbd138 commit 2357024

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

args/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ pub enum IntegrityCheckError {
10531053
/// The integrity check file has an incorrect size.
10541054
///
10551055
/// This typically indicates file corruption or an attempt to use an incompatible
1056-
/// hash algorithm. The expected size is [`SHA384_BYTE_LEN`] (48 bytes).
1056+
/// hash algorithm. The expected size is [`INTEGRITY_CHECK_BYTE_LEN`].
10571057
#[error(
10581058
"wrong check file length for hash type; received {0} bytes, expected {SHA384_BYTE_LEN} bytes"
10591059
)]
@@ -1064,7 +1064,7 @@ pub enum IntegrityCheckError {
10641064
const SHA384_BYTE_LEN: usize = 384 / 8;
10651065

10661066
/// Current size of integrity check in bytes (currently SHA-384).
1067-
const INTEGRITY_CHECK_BYTE_LEN: usize = SHA384_BYTE_LEN;
1067+
pub const INTEGRITY_CHECK_BYTE_LEN: usize = SHA384_BYTE_LEN;
10681068

10691069
/// Internal representation of SHA-384 hash bytes.
10701070
#[repr(transparent)]

0 commit comments

Comments
 (0)