From e5ecddad08c0f39fac962b909bb6d76f819daa7a Mon Sep 17 00:00:00 2001 From: Bartosz 'b4rti' Gorol Date: Fri, 21 Apr 2023 08:15:41 +0200 Subject: [PATCH] Fixed doc comment in memory_view.rs (#3804) 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.