Skip to content
Snippets Groups Projects
Commit 1fd85572 authored by Oleksandr Redko's avatar Oleksandr Redko Committed by Gopher Robot
Browse files

time: fix godoc links; remove redundant Sub mention

The Time.Sub function is mentioned in the previous sentence.

Change-Id: Ic79958cea4d1f9f9014f6dafd8e749c204db4f50
Reviewed-on: https://go-review.googlesource.com/c/go/+/606575


LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: default avatarCherry Mui <cherryyz@google.com>
Reviewed-by: default avatarIan Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
parent 60e9cf0f
No related branches found
No related tags found
No related merge requests found
...@@ -54,8 +54,8 @@ ...@@ -54,8 +54,8 @@
// On some systems the monotonic clock will stop if the computer goes to sleep. // On some systems the monotonic clock will stop if the computer goes to sleep.
// On such a system, t.Sub(u) may not accurately reflect the actual // On such a system, t.Sub(u) may not accurately reflect the actual
// time that passed between t and u. The same applies to other functions and // time that passed between t and u. The same applies to other functions and
// methods that subtract times, such as [Since], [Until], [Before], [After], // methods that subtract times, such as [Since], [Until], [Time.Before], [Time.After],
// [Add], [Sub], [Equal] and [Compare]. In some cases, you may need to strip // [Time.Add], [Time.Equal] and [Time.Compare]. In some cases, you may need to strip
// the monotonic clock to get accurate results. // the monotonic clock to get accurate results.
// //
// Because the monotonic clock reading has no meaning outside // Because the monotonic clock reading has no meaning outside
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment