mirror of
https://github.com/apple/swift-collections
synced 2026-11-29 05:14:20 +00:00
Rename module to Span
This commit is contained in:
1 parent
1d8147baf9
commit
8cb5b628ae
22 files changed
+18
-17
No files matched your search
+4
-4
@@ -217,13 +217,13 @@ let targets: [CustomTarget] = [
|
||||
|
||||
.target(
|
||||
kind: .exported,
|
||||
name: "Future",
|
||||
name: "Span",
|
||||
dependencies: ["InternalCollectionsUtilities"],
|
||||
exclude: ["CMakeLists.txt"]),
|
||||
.target(
|
||||
kind: .test,
|
||||
name: "FutureTests",
|
||||
dependencies: ["Future", "_CollectionsTestSupport"]),
|
||||
name: "SpanTests",
|
||||
dependencies: ["Span", "_CollectionsTestSupport"]),
|
||||
|
||||
.target(
|
||||
kind: .exported,
|
||||
@@ -240,7 +240,7 @@ let targets: [CustomTarget] = [
|
||||
.target(
|
||||
kind: .exported,
|
||||
name: "DequeModule",
|
||||
dependencies: ["InternalCollectionsUtilities", "Future"],
|
||||
dependencies: ["InternalCollectionsUtilities", "Span"],
|
||||
exclude: ["CMakeLists.txt"]),
|
||||
.target(
|
||||
kind: .test,
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
import InternalCollectionsUtilities
|
||||
#endif
|
||||
|
||||
import Future
|
||||
import Span
|
||||
|
||||
extension Deque {
|
||||
// Implementation note: we could also use the default `IndexingIterator` here.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import Future
|
||||
import Span
|
||||
#endif
|
||||
|
||||
extension Deque: RandomAccessContainer {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import Future
|
||||
import Span
|
||||
|
||||
extension Deque: Equatable where Element: Equatable {
|
||||
/// Returns a Boolean value indicating whether two values are equal. Two
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import Future
|
||||
import Span
|
||||
|
||||
/// A collection implementing a double-ended queue. `Deque` (pronounced "deck")
|
||||
/// implements an ordered random-access collection that supports efficient
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import InternalCollectionsUtilities
|
||||
import Future
|
||||
import Span
|
||||
#endif
|
||||
|
||||
@frozen
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import InternalCollectionsUtilities
|
||||
import Future
|
||||
import Span
|
||||
#endif
|
||||
|
||||
@frozen
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import InternalCollectionsUtilities
|
||||
import Future
|
||||
import Span
|
||||
#endif
|
||||
|
||||
@frozen
|
||||
|
||||
@@ -9,11 +9,12 @@ See https://swift.org/LICENSE.txt for license information
|
||||
|
||||
add_library(Future
|
||||
"LifetimeOverride.swift"
|
||||
"MutableRawSpan.swift"
|
||||
"MutableSpan.swift"
|
||||
"MutableSpanSlicing.swift"
|
||||
"OutputSpan.swift"
|
||||
"SpanExtensions.swift"
|
||||
"StdlibOutputSpanExtensions.swift"
|
||||
"StdlibSpanExtensions.swift"
|
||||
"UnsafeBufferPointer+Additions.swift"
|
||||
)
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -11,7 +11,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import XCTest
|
||||
import Future
|
||||
import Span
|
||||
|
||||
class ID {
|
||||
let id: Int
|
||||
@@ -11,7 +11,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import XCTest
|
||||
import Future
|
||||
import Span
|
||||
|
||||
@available(macOS 9999, *)
|
||||
struct Allocation<T>: ~Copyable {
|
||||
@@ -11,7 +11,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import XCTest
|
||||
@testable import Future
|
||||
@testable import Span
|
||||
|
||||
@available(macOS 9999, *)
|
||||
final class RawSpanTests: XCTestCase {
|
||||
@@ -11,7 +11,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import XCTest
|
||||
import Future
|
||||
import Span
|
||||
|
||||
@available(macOS 9999, *)
|
||||
final class SpanTests: XCTestCase {
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
|
||||
import XCTest
|
||||
import Foundation
|
||||
import Future
|
||||
import Span
|
||||
|
||||
@available(macOS 9999, *)
|
||||
final class StdlibOutputSpanExtensionTests: XCTestCase {
|
||||
Reference in new issue
Block a user