Improves naming in `Bag.swift`.

This commit is contained in:
Krunoslav Zaher 2015-10-26 12:19:36 +01:00
parent f86a5923d5
commit a4fa3a74bb
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
import Foundation
import Swift
let conciseArrayMaxSize = 30
let arrayDictionaryMaxSize = 30
/**
Class that enables using memory allocations as a means to uniquely identify objects.
@ -141,7 +141,7 @@ public struct Bag<T> : CustomStringConvertible {
return key
}
if _pairs.count < conciseArrayMaxSize {
if _pairs.count < arrayDictionaryMaxSize {
_pairs.append(key: key, value: element)
return key
}