Skip to content

Mark DataContainer.subscript as mutating set#202

Open
dpogueproton wants to merge 1 commit into
PureSwift:masterfrom
ProtonIntel:data-set
Open

Mark DataContainer.subscript as mutating set#202
dpogueproton wants to merge 1 commit into
PureSwift:masterfrom
ProtonIntel:data-set

Conversation

@dpogueproton
Copy link
Copy Markdown
Contributor

What does this PR Do?

DataContainer already allows mutating via the append() method, and all implementations of DataContainer (Foundation Data, UInt8 array, and LowEnergyAdvertisingData) support setting via the subscript notation, but it was not allowed on the generic type because this was marked as only allowing get access.

DataContainer already allows mutating via the `append()` method, and all
implementations of DataContainer (Foundation Data, UInt8 array, and
LowEnergyAdvertisingData) support setting via the subscript notation,
but it was not allowed on the generic type because this was marked as
only allowing get access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant