@@ -190,7 +190,7 @@ extension MutableRawSpan {
190190
191191 @unsafe
192192 @_alwaysEmitIntoClient
193- @lifetime ( borrow self)
193+ @lifetime ( & self )
194194 public mutating func _unsafeMutableView< T: BitwiseCopyable > (
195195 as type: T . Type
196196 ) -> MutableSpan < T > {
@@ -448,7 +448,7 @@ extension MutableRawSpan {
448448 ///
449449 /// - Complexity: O(1)
450450 @_alwaysEmitIntoClient
451- @lifetime ( borrow self)
451+ @lifetime ( & self )
452452 mutating public func extracting( _ bounds: Range < Int > ) -> Self {
453453 _precondition (
454454 UInt ( bitPattern: bounds. lowerBound) <= UInt ( bitPattern: _count) &&
@@ -475,7 +475,7 @@ extension MutableRawSpan {
475475 /// - Complexity: O(1)
476476 @unsafe
477477 @_alwaysEmitIntoClient
478- @lifetime ( borrow self)
478+ @lifetime ( & self )
479479 mutating public func extracting( unchecked bounds: Range < Int > ) -> Self {
480480 let newStart = unsafe _pointer? . advanced ( by: bounds. lowerBound)
481481 let newSpan = unsafe Self( _unchecked: newStart, byteCount: bounds. count)
@@ -496,7 +496,7 @@ extension MutableRawSpan {
496496 ///
497497 /// - Complexity: O(1)
498498 @_alwaysEmitIntoClient
499- @lifetime ( borrow self)
499+ @lifetime ( & self )
500500 mutating public func extracting(
501501 _ bounds: some RangeExpression < Int >
502502 ) -> Self {
@@ -520,7 +520,7 @@ extension MutableRawSpan {
520520 /// - Complexity: O(1)
521521 @unsafe
522522 @_alwaysEmitIntoClient
523- @lifetime ( borrow self)
523+ @lifetime ( & self )
524524 mutating public func extracting( unchecked bounds: ClosedRange < Int > ) -> Self {
525525 let range = unsafe Range(
526526 _uncheckedBounds: ( bounds. lowerBound, bounds. upperBound+ 1 )
@@ -538,7 +538,7 @@ extension MutableRawSpan {
538538 ///
539539 /// - Complexity: O(1)
540540 @_alwaysEmitIntoClient
541- @lifetime ( borrow self)
541+ @lifetime ( & self )
542542 mutating public func extracting( _: UnboundedRange ) -> Self {
543543 let newSpan = unsafe Self( _unchecked: _start ( ) , byteCount: _count)
544544 return unsafe _override Lifetime ( newSpan, mutating: & self )
@@ -565,7 +565,7 @@ extension MutableRawSpan {
565565 ///
566566 /// - Complexity: O(1)
567567 @_alwaysEmitIntoClient
568- @lifetime ( borrow self)
568+ @lifetime ( & self )
569569 mutating public func extracting( first maxLength: Int ) -> Self {
570570 _precondition ( maxLength >= 0 , " Can't have a prefix of negative length " )
571571 let newCount = min ( maxLength, byteCount)
@@ -588,7 +588,7 @@ extension MutableRawSpan {
588588 ///
589589 /// - Complexity: O(1)
590590 @_alwaysEmitIntoClient
591- @lifetime ( borrow self)
591+ @lifetime ( & self )
592592 mutating public func extracting( droppingLast k: Int ) -> Self {
593593 _precondition ( k >= 0 , " Can't drop a negative number of elements " )
594594 let droppedCount = min ( k, byteCount)
@@ -613,7 +613,7 @@ extension MutableRawSpan {
613613 ///
614614 /// - Complexity: O(1)
615615 @_alwaysEmitIntoClient
616- @lifetime ( borrow self)
616+ @lifetime ( & self )
617617 mutating public func extracting( last maxLength: Int ) -> Self {
618618 _precondition ( maxLength >= 0 , " Can't have a suffix of negative length " )
619619 let newCount = min ( maxLength, byteCount)
@@ -637,7 +637,7 @@ extension MutableRawSpan {
637637 ///
638638 /// - Complexity: O(1)
639639 @_alwaysEmitIntoClient
640- @lifetime ( borrow self)
640+ @lifetime ( & self )
641641 mutating public func extracting( droppingFirst k: Int ) -> Self {
642642 _precondition ( k >= 0 , " Can't drop a negative number of bytes " )
643643 let droppedCount = min ( k, byteCount)
0 commit comments