Skip to content

Commit c0e5af7

Browse files
committed
removed comment line
1 parent 91ef7c3 commit c0e5af7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

SwiftValidator/Rules/CardExpiryRule.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public class CardExpiryRule: Rule {
3535
public func validate(_ value: String) -> Bool {
3636
let date = value.replacingOccurrences(of: "/", with: "")
3737
let Index = date.index(date.startIndex, offsetBy: 2)
38-
//let yearIndex = date.index(date.endIndex, offsetBy: -2)
3938
let Month = Int(date[..<Index])
4039
let Year = Int(date[Index...])
4140

0 commit comments

Comments
 (0)