improve text reading format; fix line eating bug in KeyHeader::read_text

master
Avril 4 years ago
parent be11573230
commit 6b3b117a6f
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -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(); let mut buffer = String::new();
while input.read_line(&mut buffer).await? != 0 { while input.read_line(&mut buffer).await? != 0 {
let bounds = { let bounds = {

Loading…
Cancel
Save