We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b072a5 commit 1fd2689Copy full SHA for 1fd2689
stdlib/public/core/Span/Span.swift
@@ -444,16 +444,6 @@ extension Span where Element: ~Copyable {
444
445
@available(SwiftStdlib 6.1, *)
446
extension Span where Element: BitwiseCopyable {
447
- @_semantics("fixed_storage.check_index")
448
- @inline(__always)
449
- @_alwaysEmitIntoClient
450
- internal func _checkIndex(_ position: Index) {
451
- _precondition(
452
- UInt(bitPattern: position) < UInt(bitPattern: _count),
453
- "Index out of bounds"
454
- )
455
- }
456
-
457
/// Accesses the element at the specified position in the `Span`.
458
///
459
/// - Parameter position: The offset of the element to access. `position`
0 commit comments