From 8d892d8619fb36ce044227541e39638c778b26b8 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Mon, 16 Jan 2023 21:05:15 +0100 Subject: [PATCH] Tweak documentation (to look like the rest) --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ab5c689..38cf6ed 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -45,11 +45,11 @@ struct Config { #[derive(Clone, Copy, Debug, Serialize)] #[serde(crate = "rocket::serde")] struct Status { - /// Current power production (W) + /// The current power production (W). current_w: f32, - /// Total energy produced since installation (kWh) + /// The total energy produced since installation (kWh). total_kwh: f32, - /// Timestamp of last update + /// The (UNIX) timestamp of when the status was last updated. last_updated: u64, }