mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
fix: remove unnecessary parentheses
New Rust complains. Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user