chore: fix typos (#216562)

Signed-off-by: snoppy <michaleli@foxmail.com>
This commit is contained in:
Snoppy
2024-06-28 04:01:19 +08:00
committed by GitHub
parent 973dc3065b
commit 8d54ffc9f6
5 changed files with 8 additions and 8 deletions

View File

@@ -227,7 +227,7 @@ impl hyper::server::accept::Accept for PollableAsyncListener {
}
}
/// Gets a random name for a pipe/socket on the paltform
/// Gets a random name for a pipe/socket on the platform
pub fn get_socket_name() -> PathBuf {
cfg_if::cfg_if! {
if #[cfg(unix)] {