mirror of
https://github.com/storytold/egui.git
synced 2026-11-22 18:41:52 +01:00
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"]`
This commit is contained in:
1 parent
81b7e7f05a
commit
cb4acbc262
1 file changed
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user