Skip to content

Commit

Permalink
fixed doc bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yayanyang committed Mar 15, 2024
1 parent fcc175d commit aff85c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rasi/src/inter_process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ mod unix {
}

impl IpcListener {
/// Create new ipc server lsitener with custom [`syscall`](NamedPipe) and bind to `addr`
/// Create new ipc server lsitener with custom [`syscall`](Network) and bind to `addr`
pub async fn bind_with<A: AsRef<str>>(
name: A,
syscall: &'static dyn Network,
Expand All @@ -127,7 +127,7 @@ mod unix {
})
}

/// Create new ipc server lsitener with global registered [`syscall`](NamedPipe) and bind to `addr`
/// Create new ipc server lsitener with global registered [`syscall`](Network) and bind to `addr`
pub async fn bind<A: AsRef<str>>(name: A) -> io::Result<Self> {
Self::bind_with(name, global_network()).await
}
Expand Down

0 comments on commit aff85c9

Please sign in to comment.