From 2df2979d8f1ceb58a2315b009b813a636005b0c7 Mon Sep 17 00:00:00 2001 From: Pavel Lukandiy Date: Tue, 19 Mar 2019 15:33:49 +0500 Subject: [PATCH] Naming fix --- Sources/Functions/Block.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Functions/Block.swift b/Sources/Functions/Block.swift index 5cc19334..98c2e15f 100644 --- a/Sources/Functions/Block.swift +++ b/Sources/Functions/Block.swift @@ -24,13 +24,13 @@ public typealias Closure = (Input) -> Output /// Closure with no arguments and custom return value. -public typealias ResultBlock = () -> Output +public typealias ResultClosure = () -> Output /// Closure that takes custom arguments and returns Void. public typealias ParameterClosure = Closure /// Closure that takes no arguments and returns Void. -public typealias VoidBlock = () -> Void +public typealias VoidBlock = ResultClosure /// Closure with custom arguments and return value, may throw an error. public typealias ThrowableClosure = (Input) throws -> Output