From f8d44e732bc103caf4c963f1c0ef34511704a206 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Tue, 15 Oct 2019 22:05:47 +0200 Subject: [PATCH] Updates default minimum spaces to allow single spaces by default. --- src/commands/from_ssv.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/from_ssv.rs b/src/commands/from_ssv.rs index 4cbb3c78f..001ea8d0c 100644 --- a/src/commands/from_ssv.rs +++ b/src/commands/from_ssv.rs @@ -12,7 +12,7 @@ pub struct FromSSVArgs { } const STRING_REPRESENTATION: &str = "from-ssv"; -const DEFAULT_ALLOWED_SPACES: usize = 0; +const DEFAULT_MINIMUM_SPACES: usize = 2; impl WholeStreamCommand for FromSSV { fn name(&self) -> &str { @@ -116,7 +116,7 @@ fn from_ssv( let mut latest_tag: Option = None; let split_at = match minimum_spaces { Some(number) => number.item, - None => DEFAULT_ALLOWED_SPACES + None => DEFAULT_MINIMUM_SPACES }; for value in values {