From 95bc1bf288d519926fde939b75ec47ae92cde257 Mon Sep 17 00:00:00 2001 From: hisbaan Date: Wed, 20 Apr 2022 01:51:08 -0400 Subject: [PATCH] Remove unnecessary declaration on use calls --- src/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8bdc4ac..5b20547 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,9 +1,9 @@ -pub use cli_clipboard::{ClipboardContext, ClipboardProvider}; -pub use colored::*; -pub use std::cmp::min; +use cli_clipboard::{ClipboardContext, ClipboardProvider}; +use colored::*; +use std::cmp::min; #[cfg(unix)] -pub use nix::unistd::{fork, ForkResult}; +use nix::unistd::{fork, ForkResult}; /// Copy `string` to the system clipboard /// @@ -91,8 +91,8 @@ pub fn insert_and_shift(list: &mut Vec, index: usize, element: T) { /// /// # Arguments /// -/// * `search_chars` - The first `Vec` to compare, in most time search_term will not change, so -/// we would like to share the same `Vec` between multiple calls. you could use `search_string.chars().collect::>()` to +/// * `search_chars` - The first `Vec` to compare, in most time search_term will not change, so +/// we would like to share the same `Vec` between multiple calls. you could use `search_string.chars().collect::>()` to /// convert a string to a `Vec` /// * `known_term` - The second string to compare ///