Use @discardableResult with addFeed.

This commit is contained in:
Brent Simmons 2017-10-21 16:32:29 -07:00
parent 39c74249af
commit d512908b6f
1 changed files with 1 additions and 0 deletions

View File

@ -206,6 +206,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
return true // TODO return true // TODO
} }
@discardableResult
public func addFeed(_ feed: Feed, to folder: Folder?) -> Bool { public func addFeed(_ feed: Feed, to folder: Folder?) -> Bool {
// Return false if it couldnt be added. // Return false if it couldnt be added.