diff --git a/proxmox-rest-server/examples/minimal-rest-server.rs b/proxmox-rest-server/examples/minimal-rest-server.rs index 80067787..91cb9738 100644 --- a/proxmox-rest-server/examples/minimal-rest-server.rs +++ b/proxmox-rest-server/examples/minimal-rest-server.rs @@ -21,7 +21,7 @@ struct DummyUserInfo; impl UserInformation for DummyUserInfo { fn is_superuser(&self, _userid: &str) -> bool { - // Always return true here, so we have access to everthing + // Always return true here, so we have access to everything true } fn is_group_member(&self, _userid: &str, group: &str) -> bool { diff --git a/proxmox-rest-server/src/api_config.rs b/proxmox-rest-server/src/api_config.rs index 9d257fd1..c63106d3 100644 --- a/proxmox-rest-server/src/api_config.rs +++ b/proxmox-rest-server/src/api_config.rs @@ -42,7 +42,7 @@ impl ApiConfig { /// `api_auth` - The Authentication handler /// /// `get_index_fn` - callback to generate the root page - /// (index). Please note that this fuctions gets a reference to + /// (index). Please note that this functions gets a reference to /// the [ApiConfig], so it can use [Handlebars] templates /// ([render_template](Self::render_template) to generate pages. pub fn new>( diff --git a/proxmox-rest-server/src/lib.rs b/proxmox-rest-server/src/lib.rs index dc538a80..3872e565 100644 --- a/proxmox-rest-server/src/lib.rs +++ b/proxmox-rest-server/src/lib.rs @@ -104,7 +104,7 @@ lazy_static::lazy_static! { static ref PSTART: u64 = PidStat::read_from_pid(Pid::from_raw(*PID)).unwrap().starttime; } -/// Retruns the current process ID (see [libc::getpid]) +/// Returns the current process ID (see [libc::getpid]) /// /// The value is cached at startup (so it is invalid after a fork) pub(crate) fn pid() -> i32 {