Update crates/wiggle/src/lib.rs

This commit is contained in:
Pat Hickey
2020-06-23 21:08:00 -07:00
committed by GitHub
parent ea3c2325a5
commit 67f6aad415

View File

@@ -499,7 +499,7 @@ impl<'a> GuestPtr<'a, str> {
GuestPtr::new(self.mem, self.pointer)
}
/// Returns a raw pointer for the underlying slice of bytes that this
/// Returns a pointer for the underlying slice of bytes that this
/// pointer points to.
pub fn as_byte_ptr(&self) -> GuestPtr<'a, [u8]> {
GuestPtr::new(self.mem, self.pointer)