1
Fork 0

fix comment

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
This commit is contained in:
Ralf Jung 2021-05-23 13:26:51 +02:00 committed by GitHub
parent 461b2f83f3
commit f9b36b4f65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,7 @@ impl AllocRange {
// The constructors are all without extra; the extra gets added by a machine hook later.
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>(
slice: impl Into<Cow<'a, [u8]>>,
align: Align,