Skip to content

Commit

Permalink
doc: small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Aug 22, 2024
1 parent b8ca1f7 commit 8839f9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/fmt/temporal/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use crate::{
pub(super) struct ParsedDateTime<'i> {
/// The original input that the datetime was parsed from.
input: escape::Bytes<'i>,
/// An optional civil date.
/// A required civil date.
date: ParsedDate<'i>,
/// An optional civil time.
time: Option<ParsedTime<'i>>,
Expand Down
4 changes: 2 additions & 2 deletions src/fmt/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ impl FractionalFormatter {
///
/// If the `precision` is greater than `9`, then it is clamped to `9`.
///
/// When the precision is not set, then it is automatically determined base
/// on the value.
/// When the precision is not set, then it is automatically determined
/// based on the value.
pub(crate) const fn precision(
self,
mut precision: u8,
Expand Down

0 comments on commit 8839f9c

Please sign in to comment.