Skip to content

Commit

Permalink
<Description> : Removing for each since its already in the std library.
Browse files Browse the repository at this point in the history
<Type> : fix
  • Loading branch information
Khalian committed Feb 20, 2017
1 parent fd7c88c commit 928d825
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Sources/ArrayExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,6 @@ extension Array where Element: Equatable {

extension Array {

/// EZSE: Iterates on each element of the array.
@available(*, deprecated: 1.6, renamed: "forEach(_:)")
public func each(_ call: (Element) -> Void) {
forEach(call)
}

/// EZSE: Creates an array with values generated by running each value of self
/// through the mapFunction and discarding nil return values.
@available(*, deprecated: 1.6, renamed: "flatMap(_:)")
Expand Down

0 comments on commit 928d825

Please sign in to comment.