mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 14:49:06 -04: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:
committed by
GitHub
parent
81b7e7f05a
commit
cb4acbc262
@@ -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