Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: common/lhttp/client.go

Issue 2567313002: common/lhttp: fix line wrapping of comment (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/lhttp/client.go
diff --git a/common/lhttp/client.go b/common/lhttp/client.go
index 2fa3a57dc98d2e160bceeafc958a84bdf3683397..ad6d9c047d0ab58287b10d1d75baeab2396e7a86 100644
--- a/common/lhttp/client.go
+++ b/common/lhttp/client.go
@@ -40,8 +40,8 @@ type RequestGen func() (*http.Request, error)
// returning. It should return retry.Error in case of retriable error, for
// example if a TCP connection is terminated while receiving the content.
//
-// If rFn is nil, NewRequest will use a default exponential backoff strategy only
-// for transient errors.
+// If rFn is nil, NewRequest will use a default exponential backoff strategy
+// only for transient errors.
func NewRequest(ctx context.Context, c *http.Client, rFn retry.Factory, rgen RequestGen, handler Handler) func() (int, error) {
if rFn == nil {
rFn = retry.TransientOnly(retry.Default)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698