Skip to content

Commit 79f0021

Browse files
committed
Update header comment
1 parent 22c80a0 commit 79f0021

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_metadata/src/rmeta

1 file changed

+3
-3
lines changed

compiler/rustc_metadata/src/rmeta/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ const METADATA_VERSION: u8 = 7;
5959

6060
/// Metadata header which includes `METADATA_VERSION`.
6161
///
62-
/// This header is followed by the position of the `CrateRoot`,
63-
/// which is encoded as a 32-bit big-endian unsigned integer,
64-
/// and further followed by the rustc version string.
62+
/// This header is followed by the length of the compressed data, then
63+
/// the position of the `CrateRoot`, which is encoded as a 32-bit big-endian
64+
/// unsigned integer, and further followed by the rustc version string.
6565
pub const METADATA_HEADER: &[u8] = &[b'r', b'u', b's', b't', 0, 0, 0, METADATA_VERSION];
6666

6767
/// A value of type T referred to by its absolute position

0 commit comments

Comments
 (0)