Skip to content

Commit f6ae391

Browse files
fix comments
1 parent 2a77733 commit f6ae391

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/std/date/gregorian.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/// A Gregorian calendar date with:
66
/// * A `year: YearT,` which may be unsigned and is relative to 0000-00-00.
7-
/// * Conversion from and to an `EpochDays` type which is the number of days since `epoch`.
7+
/// * Conversion to and from an `EpochDays` type which is the number of days since `epoch`.
88
/// The conversion algorithm used is Euclidean Affine Functions by Neri and Schneider. [1]
99
/// It has been chosen for its speed.
1010
/// * A carefully selected epoch `shift` which allows for fast unsigned arithmetic at the cost
@@ -13,7 +13,7 @@
1313
/// This implementation requires the `EpochDay` range cover all possible values of `YearT`.
1414
/// Providing an invalid combination of `epoch` and `shift` will trigger a comptime assertion.
1515
///
16-
/// To solve for `shift`, see `solve_shift`.
16+
/// To solve for `shift`, see `solveShift`.
1717
///
1818
/// [1] https://onlinelibrary.wiley.com/doi/epdf/10.1002/spe.3172
1919
const std = @import("std");

0 commit comments

Comments
 (0)