Skip to content

Commit fd3d40a

Browse files
committed
Correct syntax error in ReadMe
1 parent cf63bdb commit fd3d40a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ Policy
8585
// Handle multiple return values
8686
Policy
8787
.HandleResult<HttpResponseMessage>(r => r.StatusCode == HttpStatusCode.InternalServerError)
88-
.OrResult<HttpResponseMessage>(r => r.StatusCode == HttpStatusCode.BadGateway)
88+
.OrResult(r => r.StatusCode == HttpStatusCode.BadGateway)
8989

9090
// Handle primitive return values (implied use of .Equals())
9191
Policy
9292
.HandleResult<HttpStatusCode>(HttpStatusCode.InternalServerError)
93-
.OrResult<HttpStatusCode>(HttpStatusCode.BadGateway)
93+
.OrResult(HttpStatusCode.BadGateway)
9494

9595
// Handle both exceptions and return values in one policy
9696
HttpStatusCode[] httpStatusCodesWorthRetrying = {

0 commit comments

Comments
 (0)