From 0c998d2df63e5a519f8977ca42f549bc411cc293 Mon Sep 17 00:00:00 2001 From: yellowhatter Date: Thu, 18 Jul 2024 15:43:51 +0300 Subject: [PATCH] Fix spelling --- io/zenoh-transport/src/shm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io/zenoh-transport/src/shm.rs b/io/zenoh-transport/src/shm.rs index a50e602157..fc3c75b6a8 100644 --- a/io/zenoh-transport/src/shm.rs +++ b/io/zenoh-transport/src/shm.rs @@ -332,7 +332,7 @@ pub fn map_zslice_to_shmbuf(zslice: &mut ZSlice, shmr: &ShmReader) -> ZResult<() let shmbinfo: ShmBufInfo = codec.read(&mut reader).map_err(|e| zerror!("{:?}", e))?; // Try to mount shmbuf and replace the content of the slice with mounted buf - // NOTE: SHM buffer read error is not a hard error becuse we do not want to + // NOTE: SHM buffer read error is not a hard error because we do not want to // loose all the data in the whole ZBuf above. In case of error we just // replace current ZSlice with an empty one *zslice = match shmr.read_shmbuf(&shmbinfo) {