We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 461b2f8 commit f9b36b4Copy full SHA for f9b36b4
compiler/rustc_middle/src/mir/interpret/allocation.rs
@@ -99,7 +99,7 @@ impl AllocRange {
99
100
// The constructors are all without extra; the extra gets added by a machine hook later.
101
impl<Tag> Allocation<Tag> {
102
- /// Creates a read-only allocation initialized by the given bytes
+ /// Creates an allocation initialized by the given bytes
103
pub fn from_bytes<'a>(
104
slice: impl Into<Cow<'a, [u8]>>,
105
align: Align,
0 commit comments