mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Update header comment
This commit is contained in:
parent
22c80a0bf6
commit
79f0021c16
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user