Fix typo
- Replace ambiguous symbol with the correct "-"
This commit is contained in:
parent
808325c534
commit
e66bf8b2e9
@ -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 (0–100), 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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user