fix: remove unnecessary parentheses

New Rust complains.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2025-09-19 07:40:44 +03:00
parent a5849ecd31
commit 0c959144c2
+1 -1
View File
@@ -228,7 +228,7 @@ impl JournalLines {
fn parse_journal_line(line: String) -> Result<Value, LogError> {
let jj: JournalJson = serde_json::from_str(&line)
.map_err(|err| LogError::JsonParseJournal(line.clone(), err))?;
serde_json::from_str(&jj.message).map_err(|err| (LogError::JsonParse(line, err)))
serde_json::from_str(&jj.message).map_err(|err| LogError::JsonParse(line, err))
}
fn cib_from_file(filename: &Path) -> Result<Self, LogError> {