summaryrefslogtreecommitdiffstats
path: root/src/utils.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2022-12-30 09:02:08 +0100
committerqkzk <qu3nt1n@gmail.com>2022-12-30 09:47:48 +0100
commite963579c70eef0eab939ef1e74fc98d876ee6b50 (patch)
treee956d36840340c65ed35332b89de19f3a29378c8 /src/utils.rs
parent54ae60bcc89e0a9b56babbb65b0c6a0136fa43c5 (diff)
use &str more often
Diffstat (limited to 'src/utils.rs')
-rw-r--r--src/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.rs b/src/utils.rs
index db145ac..58c0e49 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -67,7 +67,7 @@ pub fn drop_everything(
}
/// Print the path on the stdout.
-pub fn print_on_quit(path_string: String) {
+pub fn print_on_quit(path_string: &str) {
println!("{}", path_string)
}