Fix a few typos
All checks were successful
Build and test / check-license (push) Successful in 1m4s
Build and test / check (push) Successful in 2m51s
Build and test / build (push) Successful in 2m54s
Build and test / test (push) Successful in 3m45s
Build and test / docs (push) Successful in 8m58s

This commit is contained in:
2026-01-12 15:35:21 +09:00
parent ef42272087
commit 09e7a22f24
6 changed files with 7 additions and 7 deletions

View File

@@ -376,7 +376,7 @@ fn handle_mysql_admutils_command() -> anyhow::Result<Option<()>> {
}
}
/// Run the given commmand (from the client side) using Tokio.
/// Run the given command (from the client side) using Tokio.
fn tokio_run_command(
command: ClientCommand,
server_connection: StdUnixStream,

View File

@@ -35,7 +35,7 @@ spawn the editor stored in the $EDITOR environment variable.
(pico will be used if the variable is unset)
The file should contain one line per user, starting with the
username and followed by ten Y/N-values seperated by whitespace.
username and followed by ten Y/N-values separated by whitespace.
Lines starting with # are ignored.
The Y/N-values corresponds to the following mysql privileges:

View File

@@ -100,7 +100,7 @@ impl UnixUser {
})
}
// pub fn from_enviroment() -> anyhow::Result<Self> {
// pub fn from_environment() -> anyhow::Result<Self> {
// let libc_uid = nix::unistd::getuid();
// UnixUser::from_uid(libc_uid.as_raw())
// }

View File

@@ -140,7 +140,7 @@ impl Supervisor {
let (tx, rx) = broadcast::channel(1);
// TODO: try to detech systemd socket before using the provided socket path
// TODO: try to detect systemd socket before using the provided socket path
#[cfg(target_os = "linux")]
let listener = Arc::new(RwLock::new(match config.socket_path {
Some(ref path) => create_unix_listener_with_socket_path(path.clone()).await?,