We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 202d39a commit 4e3b220Copy full SHA for 4e3b220
compiler/rustc_metadata/src/rmeta/mod.rs
@@ -51,7 +51,7 @@ const METADATA_VERSION: u8 = 5;
51
/// This header is followed by the position of the `CrateRoot`,
52
/// which is encoded as a 32-bit big-endian unsigned integer,
53
/// 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];
+pub const METADATA_HEADER: &[u8] = &[b'r', b'u', b's', b't', 0, 0, 0, METADATA_VERSION];
55
56
/// Additional metadata for a `Lazy<T>` where `T` may not be `Sized`,
57
/// e.g. for `Lazy<[T]>`, this is the length (count of `T` values).
0 commit comments