diff --git a/Stack/Stack.swift b/Stack/Stack.swift index b12f713f5..c91782254 100644 --- a/Stack/Stack.swift +++ b/Stack/Stack.swift @@ -3,6 +3,9 @@ Push and pop are O(1) operations. */ public struct Stack { + + public init() {} + fileprivate var array = [T]() public var isEmpty: Bool {