We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78aacf6 + 1a57eff commit 1325309Copy full SHA for 1325309
1 file changed
Sources/Bluetooth/Data.swift
@@ -18,7 +18,7 @@ public protocol DataContainer: RandomAccessCollection where Self.Index == Int, S
18
19
mutating func reserveCapacity(_ capacity: Int)
20
21
- subscript(index: Int) -> UInt8 { get }
+ subscript(index: Int) -> UInt8 { get mutating set }
22
23
mutating func append(_ newElement: UInt8)
24
0 commit comments