From adeda10ee4dcd69df453bf772041c09c01716e79 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Wed, 29 Mar 2017 15:36:43 -0400 Subject: [PATCH] Fix newlines when concatenating sections for nostarch files --- second-edition/tools/src/bin/concat_chapters.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/second-edition/tools/src/bin/concat_chapters.rs b/second-edition/tools/src/bin/concat_chapters.rs index af27b8f45..accb2d3d1 100644 --- a/second-edition/tools/src/bin/concat_chapters.rs +++ b/second-edition/tools/src/bin/concat_chapters.rs @@ -100,6 +100,7 @@ fn concat_files(source_paths: Vec, target_path: PathBuf) -> io::Result< try!(target.write_all(b"\n")); try!(target.write_all(&contents)); + try!(target.write_all(b"\n")); } Ok(()) }