From 0949384d94d5fe05e80b84b5b15901dccd13e0dc Mon Sep 17 00:00:00 2001 From: Daniel Ericsson Date: Thu, 29 Apr 2021 12:47:07 +0200 Subject: [PATCH] Fix whitespace warnings --- Flow/Disposable.swift | 1 - Flow/Future.swift | 1 - 2 files changed, 2 deletions(-) diff --git a/Flow/Disposable.swift b/Flow/Disposable.swift index 619d518..a7f5f10 100644 --- a/Flow/Disposable.swift +++ b/Flow/Disposable.swift @@ -86,7 +86,6 @@ public final class DisposeBag: Disposable { public var isEmpty: Bool { mutex.lock() defer { mutex.unlock() } - return disposables.isEmpty } diff --git a/Flow/Future.swift b/Flow/Future.swift index d7dac83..ccb9d33 100644 --- a/Flow/Future.swift +++ b/Flow/Future.swift @@ -331,7 +331,6 @@ private extension Future { private var protectedState: State { mutex.lock() defer { mutex.unlock() } - return state }