diff --git a/lib/api/src/externals/memory_view.rs b/lib/api/src/externals/memory_view.rs index 77bcaa70664..d2d1fde360b 100644 --- a/lib/api/src/externals/memory_view.rs +++ b/lib/api/src/externals/memory_view.rs @@ -133,7 +133,7 @@ impl<'a> MemoryView<'a> { self.0.write(offset, data) } - /// Safely reads a single byte from memory at the given offset + /// Safely writes a single byte from memory at the given offset /// /// This method is guaranteed to be safe (from the host side) in the face of /// concurrent writes.