Update header comment

This commit is contained in:
Rune Tynan 2023-02-28 15:52:00 -05:00
parent 22c80a0bf6
commit 79f0021c16
No known key found for this signature in database
GPG Key ID: 7ECC932F8B2C731E

View File

@ -59,9 +59,9 @@ const METADATA_VERSION: u8 = 7;
/// Metadata header which includes `METADATA_VERSION`.
///
/// This header is followed by the position of the `CrateRoot`,
/// which is encoded as a 32-bit big-endian unsigned integer,
/// and further followed by the rustc version string.
/// This header is followed by the length of the compressed data, then
/// the position of the `CrateRoot`, which is encoded as a 32-bit big-endian
/// unsigned integer, and further followed by the rustc version string.
pub const METADATA_HEADER: &[u8] = &[b'r', b'u', b's', b't', 0, 0, 0, METADATA_VERSION];
/// A value of type T referred to by its absolute position