Skip to content

Commit

Permalink
rolling back count to countElements
Browse files Browse the repository at this point in the history
  • Loading branch information
jpotts18 committed Mar 30, 2015
1 parent 00e8db0 commit 36b4402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Validator/MinLengthRule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class MinLengthRule : Rule {
}

func validate(value: String) -> Bool {
if count(value) < DEFAULT_MIN_LENGTH {
if countElements(value) < DEFAULT_MIN_LENGTH {
return false
}
return true
Expand Down

0 comments on commit 36b4402

Please sign in to comment.