From d512908b6fb446565fe4bff94f1804f1dc22321e Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 21 Oct 2017 16:32:29 -0700 Subject: [PATCH] Use @discardableResult with addFeed. --- Frameworks/Account/Account.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Frameworks/Account/Account.swift b/Frameworks/Account/Account.swift index a9c97d779..427cd6be0 100644 --- a/Frameworks/Account/Account.swift +++ b/Frameworks/Account/Account.swift @@ -206,6 +206,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container, return true // TODO } + @discardableResult public func addFeed(_ feed: Feed, to folder: Folder?) -> Bool { // Return false if it couldn’t be added.