From fdda0ff8eaf7672e1c5411c301bf337dd81962b9 Mon Sep 17 00:00:00 2001 From: Evan Easton <5614092+evaneaston@users.noreply.github.com> Date: Thu, 9 May 2024 07:35:08 -0500 Subject: [PATCH] Update models.rs Clippy doc updates --- client/src/models.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/models.rs b/client/src/models.rs index 927f4b5..487cdaf 100644 --- a/client/src/models.rs +++ b/client/src/models.rs @@ -44,7 +44,7 @@ pub struct City { /// An [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) 2-character country code pub country_code: String, - /// When available will be rendered by [Display] instead of the name, country_code. + /// When available will be rendered by [Display] instead of the `name`, `country_code`. pub display_name: Option, } impl City { @@ -128,7 +128,7 @@ pub struct CurrentWeather { pub coord: Coord, /// Seems to generally be a collection of one pub weather: Vec, - /// OpenWeatherMap documents as "Internal parameter" + /// `OpenWeatherMap` documents as "Internal parameter" pub base: String, /// Main readings that are usually present in responses. See [Main]. @@ -182,7 +182,7 @@ pub struct Main { pub temp_min: f64, /// Maximum temperature at the moment. This is maximal currently observed temperature (within large megalopolises and urban areas). Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit. pub temp_max: f64, - /// Atmospheric pressure (on the sea level, if there is no sea_level or grnd_level data), hPa + /// Atmospheric pressure (on the sea level, if there is no `sea_level` or `grnd_level` data), hPa pub pressure: f64, /// Atmospheric pressure on the sea level, hPa pub sea_level: Option,