Skip to content

Commit 2637dbf

Browse files
authored
Merge pull request kodecocodes#787 from BNTR/swift-4-2-ring-buffer
[Swift 4.2]Update Ring Buffer
2 parents cc6aa25 + 33a5092 commit 2637dbf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Ring Buffer/RingBuffer.playground/Contents.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
//: Playground - noun: a place where people can play
22

3-
// last checked with Xcode 9.0b4
4-
#if swift(>=4.0)
5-
print("Hello, Swift 4!")
6-
#endif
7-
83
public struct RingBuffer<T> {
94
fileprivate var array: [T?]
105
fileprivate var readIndex = 0

0 commit comments

Comments
 (0)