Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #2

Merged
merged 1 commit into from
Oct 15, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.