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:
Abdellatif EL MIZEB 2025-05-18 13:02:58 +02:00 committed by GitHub
parent 81b7e7f05a
commit cb4acbc262
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}