Contents

removeLast(_:)

Remove the last N elements of this span, returning the memory they occupy to the uninitialized state.

Declaration

mutating func removeLast(_ k: Int)

Discussion

n must not be greater than count