fix comment
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
This commit is contained in:
parent
461b2f83f3
commit
f9b36b4f65
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ impl AllocRange {
|
||||||
|
|
||||||
// The constructors are all without extra; the extra gets added by a machine hook later.
|
// The constructors are all without extra; the extra gets added by a machine hook later.
|
||||||
impl<Tag> Allocation<Tag> {
|
impl<Tag> Allocation<Tag> {
|
||||||
/// Creates a read-only allocation initialized by the given bytes
|
/// Creates an allocation initialized by the given bytes
|
||||||
pub fn from_bytes<'a>(
|
pub fn from_bytes<'a>(
|
||||||
slice: impl Into<Cow<'a, [u8]>>,
|
slice: impl Into<Cow<'a, [u8]>>,
|
||||||
align: Align,
|
align: Align,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue