summaryrefslogtreecommitdiffstats
path: root/src/print.rs
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.me>2019-04-07 23:28:38 -0400
committerMatan Kushner <hello@matchai.me>2019-04-07 23:28:38 -0400
commit5086ba2f50526dc00d011b487cd1b39c817035cb (patch)
treef4317e9a71a937c99ce4f757f6c20a952a41daf3 /src/print.rs
parent168a6fd7b145b8feb215220943428c9856f5d725 (diff)
A bit of tidying up
Diffstat (limited to 'src/print.rs')
-rw-r--r--src/print.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.rs b/src/print.rs
index 2aad9019b..baf3ebe01 100644
--- a/src/print.rs
+++ b/src/print.rs
@@ -8,7 +8,7 @@ pub fn prompt(args: ArgMatches) {
default_prompt
.into_iter()
.map(|module| modules::handle(module, &args))
- .map(|segment| stringify_segment(segment))
+ .map(stringify_segment)
.for_each(|segment_string| print!("{}", segment_string));
}