From 62d7881408af2c5b995d16c2c946e6f9ecb28e9a Mon Sep 17 00:00:00 2001 From: Steven Stanfield <stanfield@scarecrowtech.com> Date: Thu, 4 Jul 2019 23:56:08 +0000 Subject: [PATCH] Forgot the format. --- src/binary/completer.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/binary/completer.rs b/src/binary/completer.rs index 38cd4f4b..d98baf6b 100644 --- a/src/binary/completer.rs +++ b/src/binary/completer.rs @@ -198,7 +198,9 @@ impl<'a, 'b> Completer for IonFileCompleter<'a, 'b> { let completions = filename_completion(&expanded, &self.path); if expanded == start { return if self.for_command { - completions.map(|s| s.rsplit('/').next().map(|s| s.to_string()).unwrap_or(s)).collect() + completions + .map(|s| s.rsplit('/').next().map(|s| s.to_string()).unwrap_or(s)) + .collect() } else { completions.collect() }; -- GitLab