Skip to content

Commit 3e8be9f

Browse files
authored
Remove unused open fn
Signed-off-by: Ludea <ludovicw35@hotmail.com>
1 parent aa4fed1 commit 3e8be9f

File tree

1 file changed

+0
-4
lines changed
  • crates/fspy_shared/src/ipc/channel/backend

1 file changed

+0
-4
lines changed

crates/fspy_shared/src/ipc/channel/backend/shmem.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,3 @@ pub fn create(size: usize) -> io::Result<Shm> {
1414

1515
Ok(Shm { shm, os_id })
1616
}
17-
18-
pub fn open(os_id: &str, size: usize) -> io::Result<Shmem> {
19-
ShmemConf::new().size(size).os_id(os_id).open().map_err(io::Error::other)
20-
}

0 commit comments

Comments
 (0)