Skip to content

Commit

Permalink
let issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Eli Selkin committed Jul 29, 2017
1 parent d46d4e9 commit 1487772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenLocationCode/Core.swift
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ public class OpenLocationCode {
var substring = code_a.substring(to: code_a.index(code_a.startIndex, offsetBy: similar))
if (similar < LENGTH_BASE) {
let padding = (LENGTH_BASE - similar)
for i in 0..<padding {
for _ in 0..<padding {
substring += String(PADDING_CHARACTER)
}
substring += String(PLUS_SEPARATOR)
Expand Down

0 comments on commit 1487772

Please sign in to comment.