From c6e599219a28864880af1a12c0ee18dd73bc6fdd Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Tue, 23 Jun 2020 21:08:05 -0700 Subject: [PATCH] Update crates/wiggle/src/lib.rs --- crates/wiggle/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wiggle/src/lib.rs b/crates/wiggle/src/lib.rs index 3c553b5449..e756dc8dbb 100644 --- a/crates/wiggle/src/lib.rs +++ b/crates/wiggle/src/lib.rs @@ -540,7 +540,7 @@ impl<'a> GuestPtr<'a, str> { } impl<'a> GuestPtr<'a, [u8]> { - /// Returns a raw pointer to the string represented by a `[u8]` without + /// Returns a pointer to the string represented by a `[u8]` without /// validating whether each u8 is a utf-8 codepoint. pub fn as_str_ptr(&self) -> GuestPtr<'a, str> { GuestPtr::new(self.mem, self.pointer)