Skip to content

Commit 4e3b220

Browse files
cjgillotbjorn3
andauthored
Update compiler/rustc_metadata/src/rmeta/mod.rs
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
1 parent 202d39a commit 4e3b220

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

compiler/rustc_metadata/src/rmeta/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const METADATA_VERSION: u8 = 5;
5151
/// This header is followed by the position of the `CrateRoot`,
5252
/// which is encoded as a 32-bit big-endian unsigned integer,
5353
/// and further followed by the rustc version string.
54-
pub const METADATA_HEADER: &[u8; 8] = &[b'r', b'u', b's', b't', 0, 0, 0, METADATA_VERSION];
54+
pub const METADATA_HEADER: &[u8] = &[b'r', b'u', b's', b't', 0, 0, 0, METADATA_VERSION];
5555

5656
/// Additional metadata for a `Lazy<T>` where `T` may not be `Sized`,
5757
/// e.g. for `Lazy<[T]>`, this is the length (count of `T` values).

0 commit comments

Comments
 (0)