diff options
author | Matan Kushner <hello@matchai.me> | 2019-04-07 23:28:38 -0400 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-04-07 23:28:38 -0400 |
commit | 5086ba2f50526dc00d011b487cd1b39c817035cb (patch) | |
tree | f4317e9a71a937c99ce4f757f6c20a952a41daf3 /src/print.rs | |
parent | 168a6fd7b145b8feb215220943428c9856f5d725 (diff) |
A bit of tidying up
Diffstat (limited to 'src/print.rs')
-rw-r--r-- | src/print.rs | 2 |
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)); } |