Skip to content

Commit

Permalink
chore: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
QuenKar committed Sep 14, 2023
1 parent 7e79753 commit e133a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/time/src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl Time {
self.value
}

/// Convert a timestamp to given time unit.
/// Convert a time to given time unit.
/// Return `None` if conversion causes overflow.
pub fn convert_to(&self, unit: TimeUnit) -> Option<Time> {
if self.unit().factor() >= unit.factor() {
Expand Down

0 comments on commit e133a1f

Please sign in to comment.