mirror of
https://github.com/0x5eal/chrono-lc.git
synced 2025-01-19 09:08:05 +00:00
docs: include rustdoc comments
This commit is contained in:
parent
a378ed1183
commit
e54728b760
1 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,7 @@ fn write_local_minus_utc(w: &mut fmt::Formatter, off: FixedOffset, allow_zulu: b
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Parses a [Fixed] value and formats it.
|
||||||
fn parse_fixed(
|
fn parse_fixed(
|
||||||
w: &mut fmt::Formatter,
|
w: &mut fmt::Formatter,
|
||||||
date: Option<&NaiveDate>,
|
date: Option<&NaiveDate>,
|
||||||
|
@ -249,6 +250,7 @@ fn parse_fixed(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Parses a [Numeric] value and returns its width and its formattable component.
|
||||||
fn parse_numeric(date: Option<&NaiveDate>, time: Option<&NaiveTime>, off: Option<&(String, FixedOffset)>, spec: &Numeric) -> (usize, Option<i64>) {
|
fn parse_numeric(date: Option<&NaiveDate>, time: Option<&NaiveTime>, off: Option<&(String, FixedOffset)>, spec: &Numeric) -> (usize, Option<i64>) {
|
||||||
use self::Numeric::*;
|
use self::Numeric::*;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue