From a3cfd44a655a3cbc1b136902eaf78254fd8e19d0 Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Sat, 30 May 2026 02:21:43 +0900 Subject: [PATCH] Update plot.rs --- egui_plot/src/plot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egui_plot/src/plot.rs b/egui_plot/src/plot.rs index 16b30c0c..335f08d3 100644 --- a/egui_plot/src/plot.rs +++ b/egui_plot/src/plot.rs @@ -137,7 +137,7 @@ pub struct Plot<'a> { impl<'a> Plot<'a> { /// Give a unique id for each plot within the same [`Ui`]. - pub fn new(id_source: impl std::hash::Hash) -> Self { + pub fn new(id_source: impl std::hash::Hash + std::fmt::Debug) -> Self { Self { id_source: Id::new(id_source), id: None,