- Replace ambiguous symbol with the correct "-"
This commit is contained in:
Candifloss 2025-10-09 16:31:27 +05:30
parent 808325c534
commit e66bf8b2e9

View File

@ -539,7 +539,7 @@ impl WeatherResponse {
self.wind.as_ref().and_then(|w| w.deg) self.wind.as_ref().and_then(|w| w.deg)
} }
/// Returns the cloudiness percentage (0100), if available /// Returns the cloudiness percentage (0-100), if available
#[must_use] #[must_use]
pub fn cloudiness(&self) -> Option<u8> { pub fn cloudiness(&self) -> Option<u8> {
self.clouds.as_ref().and_then(|c| c.all) self.clouds.as_ref().and_then(|c| c.all)