From ea34f32685424dcb252ce4230ff5dc9d6cbdc57d Mon Sep 17 00:00:00 2001 From: tanner0101 Date: Tue, 3 Mar 2020 23:02:10 -0500 Subject: [PATCH] fix typo --- 4.0/docs/upgrading.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4.0/docs/upgrading.md b/4.0/docs/upgrading.md index 1808bdbc..be542bca 100644 --- a/4.0/docs/upgrading.md +++ b/4.0/docs/upgrading.md @@ -338,7 +338,7 @@ Methods prefixed with `new`, like `newPromise` have been changed to `make` to be ```diff - let promise = eventLoop.newPromise(String.self) -- let promise = eventLoop.makePromise(of: String.self) ++ let promise = eventLoop.makePromise(of: String.self) ``` `catchMap` is no longer available, but NIO's methods like `mapError` and `flatMapErrorThrowing` will work instead.