From 2d211d7f2de98bb2586ffeb648c6fe64bc31a630 Mon Sep 17 00:00:00 2001 From: MarkSackerberg <93528482+MarkSackerberg@users.noreply.github.com> Date: Mon, 4 Mar 2024 22:10:01 +0100 Subject: [PATCH] fix clippy --- src/show/process.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/show/process.rs b/src/show/process.rs index 81538df4..7b6c3a47 100644 --- a/src/show/process.rs +++ b/src/show/process.rs @@ -161,11 +161,11 @@ pub fn process_show(args: ShowArgs) -> Result<()> { } else { style(config_line_settings.prefix_name.as_str()) }; - print_with_style(" ", "prefix_name", &prefix_name.to_string()); + print_with_style(" ", "prefix_name", prefix_name.to_string()); print_with_style( " ", "name_length", - &config_line_settings.name_length.to_string(), + config_line_settings.name_length.to_string(), ); let prefix_uri = if config_line_settings.prefix_uri.is_empty() { @@ -173,11 +173,11 @@ pub fn process_show(args: ShowArgs) -> Result<()> { } else { style(config_line_settings.prefix_uri.as_str()) }; - print_with_style(" ", "prefix_uri", &prefix_uri.to_string()); + print_with_style(" ", "prefix_uri", prefix_uri.to_string()); print_with_style( " ", "uri_length", - &config_line_settings.uri_length.to_string(), + config_line_settings.uri_length.to_string(), ); print_with_style( " ",