From 6b3b117a6faa0d2eec2b04f7964284bc6597cf87 Mon Sep 17 00:00:00 2001 From: Avril Date: Fri, 2 Oct 2020 05:17:15 +0100 Subject: [PATCH] improve text reading format; fix line eating bug in KeyHeader::read_text --- src/format/key/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format/key/mod.rs b/src/format/key/mod.rs index 7d4393d..17ff2db 100644 --- a/src/format/key/mod.rs +++ b/src/format/key/mod.rs @@ -262,7 +262,7 @@ impl KeyHeader } - let line_sender = async move { //this causes the >\n<\n dumbness in the encoding. Rewrite this to not use mpsc pls + let line_sender = async move { let mut buffer = String::new(); while input.read_line(&mut buffer).await? != 0 { let bounds = {