Skip to content

Commit

Permalink
Fix typos in doc blocks, content -> context.
Browse files Browse the repository at this point in the history
Co-Authored-By: Kevin Millar <[email protected]>
  • Loading branch information
jmalloc and koden-km authored Nov 11, 2019
1 parent c5337ec commit e623c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func FromContextDeadline(ctx context.Context) (d time.Duration, ok bool) {
return 0, false
}

// ContextWithTimeout returns a content with a deadline some duration after the
// ContextWithTimeout returns a context with a deadline some duration after the
// current time.
//
// The timeout duration is computed by finding the first of the supplied
Expand All @@ -30,7 +30,7 @@ func ContextWithTimeout(
return ContextWithTimeoutX(ctx, Identity, durations...)
}

// ContextWithTimeoutX returns a content with a deadline some duration after the
// ContextWithTimeoutX returns a context with a deadline some duration after the
// current time.
//
// The timeout duration is computed by finding the first of the supplied
Expand Down

0 comments on commit e623c13

Please sign in to comment.