notmuch: comment typo
This commit is contained in:
parent
c3692cadec
commit
99a104517d
@ -518,7 +518,7 @@ impl Notmuch {
|
||||
"--format=json",
|
||||
query,
|
||||
])?;
|
||||
// Notmuch returns JSON with invalid unicode. So we lossy convert it to a string here an
|
||||
// Notmuch returns JSON with invalid unicode. So we lossy convert it to a string here and
|
||||
// use that for parsing in rust.
|
||||
let s = String::from_utf8_lossy(&slice);
|
||||
let mut deserializer = serde_json::Deserializer::from_str(&s);
|
||||
@ -537,7 +537,7 @@ impl Notmuch {
|
||||
&format!("--part={}", part),
|
||||
query,
|
||||
])?;
|
||||
// Notmuch returns JSON with invalid unicode. So we lossy convert it to a string here an
|
||||
// Notmuch returns JSON with invalid unicode. So we lossy convert it to a string here and
|
||||
// use that for parsing in rust.
|
||||
let s = String::from_utf8_lossy(&slice);
|
||||
let mut deserializer = serde_json::Deserializer::from_str(&s);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user