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:
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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue