mirror of
https://github.com/rust-lang/book.git
synced 2026-09-14 02:50:32 -04:00
Fix newlines when concatenating sections for nostarch files
This commit is contained in:
@@ -100,6 +100,7 @@ fn concat_files(source_paths: Vec<PathBuf>, target_path: PathBuf) -> io::Result<
|
||||
|
||||
try!(target.write_all(b"\n"));
|
||||
try!(target.write_all(&contents));
|
||||
try!(target.write_all(b"\n"));
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user