From 20e891db6e59c02e00ae5f0fbfa61c7f843a4295 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Sun, 13 Oct 2019 23:09:40 +0200 Subject: [PATCH] Move variable assignment to clarify use. --- src/commands/from_ssv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/from_ssv.rs b/src/commands/from_ssv.rs index ede06da2da..2f3f574fb3 100644 --- a/src/commands/from_ssv.rs +++ b/src/commands/from_ssv.rs @@ -39,7 +39,6 @@ fn from_ssv_string_to_value( tag: impl Into, ) -> Result, &str> { let mut lines = s.lines(); - let tag = tag.into(); let headers = lines .next() @@ -56,6 +55,7 @@ fn from_ssv_string_to_value( headers }; + let tag = tag.into(); let rows = lines .map(|l| { let mut row = TaggedDictBuilder::new(tag);