From e701bf45a25c3809d44828c53c815f421bed0a65 Mon Sep 17 00:00:00 2001 From: Bartosz 'b4rti' Gorol Date: Fri, 21 Apr 2023 04:58:20 +0200 Subject: [PATCH] Fixed typo in memory_view.rs --- lib/api/src/externals/memory_view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.