summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/env.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/env.rs b/src/env.rs
index b3a38c6..3ff2576 100644
--- a/src/env.rs
+++ b/src/env.rs
@@ -15,6 +15,7 @@ pub fn user() -> anyhow::Result<String> {
.into_owned())
}
+#[allow(clippy::unnecessary_wraps)]
pub fn prompt_char() -> anyhow::Result<String> {
if users::get_current_uid() == 0 {
Ok("#".into())