Skip to content

Commit 1030e8a

Browse files
committed
clippy
1 parent 6523fe8 commit 1030e8a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

usermgmt/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn execute_command() -> AppResult {
4141
/// # Errors
4242
///
4343
/// - When LDAP or SSH session could not be established due to connection problems or invalid
44-
/// credentials.
44+
/// credentials.
4545
/// - When some arguments in CLI, parameter `args`, for action are not valid.
4646
pub fn run_mgmt(args: cli::GeneralArgs) -> AppResult {
4747
match args.command {

usermgmt/src/user_input.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fn ask_for_line_from_user(
3939
///
4040
/// - None if input is empty or only white spaces
4141
/// - Some if input has at least on char which is not white space. Inner value is trimmed or the
42-
/// placeholder if no input was provided.
42+
/// placeholder if no input is provided.
4343
///
4444
/// # Errors
4545
///

usermgmt_gui/src/io_resource_manager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ where
6969
/// # Parameters
7070
/// - [`task`]: Closure which will be completed once the IO task finished.
7171
/// - [`thread_name`]: Name of thread used for IO background task. Useful for logging and
72-
/// debugging.
72+
/// debugging.
7373
///
7474
/// ## Returns
7575
/// - True: if a new task has spawned.
7676
/// - False: if a task is already running or spawning a new task has failed for other
77-
/// reasons.
77+
/// reasons.
7878
pub fn spawn_task<F>(&mut self, task: F, thread_name: String) -> bool
7979
where
8080
F: FnOnce() -> AppResult<T> + Send + 'static,

usermgmt_lib/src/ssh/ssh_connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ where
223223
/// - If no SSH agent is accessible.
224224
/// - If no key is registered within ssh agent
225225
/// - If the selection from user is not within the available range of SSH keys registered within
226-
/// SSH agent .
226+
/// SSH agent.
227227
fn try_authenticate_via_ssh_agent(
228228
session: &mut Session,
229229
credentials: &impl SshCredentials,

0 commit comments

Comments
 (0)