mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: In NIO2 we tried to adopt the Swift convention of avoiding functions that differ only by the word of their first label where that label is describing their type. Sadly, we missed one. Modifications: - Wrote setBuffer(_:at:) - Deprecated set(buffer:at:) in favour of the new function. Result: Users will get some deprecation warnings I guess.