Skip to content

Commit

Permalink
Merge pull request #2 from WiSaGaN/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
wycats committed Oct 15, 2015
2 parents 95d180e + c575a8e commit 3f095d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text/0000-time-improvements.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl ProcessTime {
/// Panics if `earlier` is later than &self.
/// Because ProcessTime is monotonic, the only time that `earlier` should be
/// a later time is a bug in your code.
pub fn duration_from_earlier(&self, earlier: ProcessTime) -> ProcessTime;
pub fn duration_from_earlier(&self, earlier: ProcessTime) -> Duration;

/// Panics if self is later than the current time (can happen if a ProcessTime
/// is produced synthetically)
Expand Down Expand Up @@ -327,4 +327,4 @@ use `duration_from_earlier` reliably to get a positive `Duration`.
What should `SystemTimeError` look like?

This RFC leaves types related to human representations of dates and times
to a future proposal.
to a future proposal.

0 comments on commit 3f095d5

Please sign in to comment.