diff --git a/.travis.yml b/.travis.yml index 8fdea35..c74ac4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: go go: - - 1.6 - tip diff --git a/rehttp.go b/rehttp.go index be990ee..3a62e78 100644 --- a/rehttp.go +++ b/rehttp.go @@ -34,13 +34,13 @@ // // This package requires Go version 1.6+, since it uses the new // http.Request.Cancel field in order to cancel requests. It doesn't -// implement the deprecated Transport.CancelRequest method +// implement the deprecated http.Transport.CancelRequest method // (https://golang.org/pkg/net/http/#Transport.CancelRequest). // // It should work on Go1.5, but only if there is no timeout set on the // *http.Client. Go's stdlib will return an error on the first request // if that's the case, because it requires a `RoundTripper` that -// implements the (now deprecated in Go1.6) `CancelRequest` method. +// implements the CancelRequest method. // package rehttp