Skip to content

Commit

Permalink
docs: fix serialize_chrono_* docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatrv authored and jmcnamara committed Jan 30, 2024
1 parent 5f81742 commit ea075e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ea075e2

Please sign in to comment.