From cb4acbc26274d29cf2d357a160cf16d3e65ee2d5 Mon Sep 17 00:00:00 2001 From: Abdellatif EL MIZEB Date: Sun, 18 May 2025 13:02:58 +0200 Subject: [PATCH] Fix typo in deprecation message for `ComboBox::from_id_source` (#7055) This PR corrects the deprecation note on ComboBox::from_id_source: Changed: `#[deprecated = "Renamed id_salt"]` To: `#[deprecated = "Renamed from_id_salt"]` --- crates/egui/src/containers/combo_box.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/containers/combo_box.rs b/crates/egui/src/containers/combo_box.rs index 5544e759..ab89c435 100644 --- a/crates/egui/src/containers/combo_box.rs +++ b/crates/egui/src/containers/combo_box.rs @@ -86,7 +86,7 @@ impl ComboBox { } /// Without label. - #[deprecated = "Renamed id_salt"] + #[deprecated = "Renamed from_id_salt"] pub fn from_id_source(id_salt: impl std::hash::Hash) -> Self { Self::from_id_salt(id_salt) }