Skip to content

Commit 28456ac

Browse files
xavi-matoskrzyzanowskim
authored andcommitted
fixed typo (krzyzanowskim#403)
typo fix
1 parent 98b3e19 commit 28456ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/CryptoSwift/Array+Extension.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ extension Array {
2222
for idx in stride(from: chunksize, through: self.count, by: chunksize) {
2323
words.append(Array(self[idx - chunksize ..< idx])) // slow for large table
2424
}
25-
let reminder = self.suffix(self.count % chunksize)
26-
if !reminder.isEmpty {
27-
words.append(Array(reminder))
25+
let remainder = self.suffix(self.count % chunksize)
26+
if !remainder.isEmpty {
27+
words.append(Array(remainder))
2828
}
2929
return words
3030
}

0 commit comments

Comments
 (0)