From ea075e24eb3929aae8d02fa669b9ca64e413a78b Mon Sep 17 00:00:00 2001 From: Luca Trevisani Date: Mon, 29 Jan 2024 23:36:34 +0100 Subject: [PATCH] docs: fix `serialize_chrono_*` docstrings --- src/utility.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utility.rs b/src/utility.rs index f9d1924a..0328fa42 100644 --- a/src/utility.rs +++ b/src/utility.rs @@ -231,7 +231,7 @@ pub fn cell_range_absolute( } } -/// Serialize a Chrono naive date/time to and Excel value. +/// Serialize a Chrono naive date/time to an Excel value. /// /// This is a helper function for serializing [`Chrono`] naive date/time fields /// using [Serde](https://serde.rs). "Naive" in the Chrono sense means that the @@ -295,7 +295,7 @@ where serializer.serialize_f64(datetime.to_excel_serial_date()) } -/// Serialize an `Option<>` Chrono naive date/time to and Excel value. +/// Serialize an [`Option`] Chrono naive date/time to an Excel value. /// /// This is a helper function for serializing [`Chrono`] naive date/time fields /// using [Serde](https://serde.rs). "Naive" in the Chrono sense means that the