Skip to content

Commit

Permalink
fix anyhow context use
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
abey79 committed Sep 10, 2024
1 parent dcb92a8 commit 50f27cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/viewer/re_space_view_dataframe/src/dataframe_ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl<'a> egui_table::TableDelegate for DataframeTableDelegate<'a> {
&self.query_handle.timeline(),
);

self.display_data = data.with_context(|| "Failed to create display data");
self.display_data = data.context("Failed to create display data");
}

fn header_cell_ui(&mut self, ui: &mut egui::Ui, cell: &egui_table::HeaderCellInfo) {
Expand Down

0 comments on commit 50f27cd

Please sign in to comment.