Skip to content

Commit 33a5092

Browse files
committed
Update Ring Buffer to Swift 4.2
1 parent af10fe9 commit 33a5092

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Ring Buffer/RingBuffer.playground/Contents.swift

-5
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)