Skip to content

Commit

Permalink
Format errors with Display
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Feb 25, 2025
1 parent d095704 commit 06c3734
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/top/rerun/src/commands/rrd/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ impl Verifier {
match re_sorbet::ChunkBatch::try_from(batch) {
Ok(chunk_batch) => self.verify_chunk_batch(&chunk_batch),
Err(err) => {
self.errors
.insert(format!("Failed to parse batch: {err:?}"));
self.errors.insert(format!("Failed to parse batch: {err}"));
}
}
}
Expand All @@ -88,7 +87,7 @@ impl Verifier {

if let Err(err) = self.verify_component_column(component_name, column) {
self.errors.insert(format!(
"Failed to deserialize column {component_name:?}: {err:?}"
"Failed to deserialize column {component_name:?}: {err}"
));
}
}
Expand Down

0 comments on commit 06c3734

Please sign in to comment.