From 0b7d78c9483f80ee67be4211e31818418aef62c0 Mon Sep 17 00:00:00 2001 From: Dany LE Date: Thu, 26 Mar 2026 11:23:41 +0100 Subject: [PATCH] fix typo --- src/auth.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/auth.rs b/src/auth.rs index 2f82323..4619d81 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -41,7 +41,7 @@ use std::ptr; /// PAM based session /// -/// Session that use PAM for user authentication and session initializing +/// Session that use PAM for user authentication and setup /// /// # Fields /// @@ -66,7 +66,7 @@ pub struct AnonymousSession { username: String, } -/// Private application data form PamSession +/// Private application data for PamSession /// /// # Fields /// @@ -171,8 +171,8 @@ unsafe extern "C" fn pam_conv_handler( /// Public trait for all session object /// -/// This interface shall implemented for any session object (PamSession, AnonymousSession) -/// that want to export public API for user authentication and session opening +/// This interface shall be implemented on any session object (PamSession, AnonymousSession) +/// that wants to export public APIs for user authentication and session opening /// pub trait Session { /// Perform authentication for user check @@ -225,7 +225,7 @@ pub trait Session { /// Trait that provide privilege dropping for new user session /// -/// This trait shall be implement on any Session object +/// This trait shall be implemented on any Session object /// trait DropPrivilege { /// Drop the process privilege to current user