mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
* Change unnecessary functions to variables Motivation: The changed functions do not have any side effects and therefore better convey intent when being a simple computed variable. Modifications: Changes: - `func markedElementIndex() -> Int?` to `var markedElementIndex: Int?` - `func markedElement() -> E?` to `var markedElement: E?` - `func hasMark() -> Bool` to `var hasMark: Bool` Result: - improved code quality