Skip to content

Commit 1a332dc

Browse files
committed
chore: update more swift vs Swift language
1 parent 8267093 commit 1a332dc

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ import Dispatch
6767
// Use Dispatch API's the same way you normal would.
6868
```
6969

70-
## 2. If you really want to use DispatchAsync as a pure swift Dispatch alternative for non-wasm targets
70+
## 2. If you really want to use DispatchAsync as a pure Swift Dispatch alternative for non-wasm targets
7171

7272
Stop. Are you sure? If you do this, you'll need to be '
7373

@@ -127,7 +127,7 @@ import struct Foundation.URL // Ok. Doesn't bring in Dispatch
127127

128128
private typealias DispatchQueue = DispatchAsync.DispatchQueue
129129

130-
// Ok. If you followed everything above, you can now do the following, using pure swift
130+
// Ok. If you followed everything above, you can now do the following, using pure Swift
131131
// under the hood! 🎉
132132
DispatchQueue.main.async {
133133
// Run your code here…

Sources/DispatchAsync/DispatchSemaphore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extension DispatchAsync {
2626
/// DispatchSemaphore is not safe to use for most wasm executables.
2727
///
2828
/// This implementation assumes the single-threaded
29-
/// environment that swift wasm executables typically run in.
29+
/// environment that Swift for WebAssembly executables typically run in.
3030
///
3131
/// It is not appropriate for true multi-threaded environments.
3232
///

Sources/DispatchAsync/DispatchTime.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
// It is designed to safely elide away if and when Dispatch is introduced
1818
// in the required Dispatch support becomes available.
1919
#if os(WASI) && !canImport(Dispatch)
20-
/// Drop-in replacement for ``Dispatch.DispatchTime``, implemented using pure swift.
20+
/// Drop-in replacement for ``Dispatch.DispatchTime``, implemented using pure Swift.
2121
@available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
2222
public typealias DispatchTime = DispatchAsync.DispatchTime
2323
#endif
2424

2525
extension DispatchAsync {
26-
/// Drop-in replacement for ``Dispatch.DispatchTime``, implemented using pure swift.
26+
/// Drop-in replacement for ``Dispatch.DispatchTime``, implemented using pure Swift.
2727
#if !os(WASI)
2828
@_spi(DispatchAsync)
2929
#endif

Sources/DispatchAsync/DispatchTimeInterval.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// It is designed to safely elide away if and when Dispatch is introduced
1818
// in the required Dispatch support becomes available.
1919
#if os(WASI) && !canImport(Dispatch)
20-
/// Drop-in replacement for ``Dispatch.DispatchQueue``, implemented using pure swift.
20+
/// Drop-in replacement for ``Dispatch.DispatchQueue``, implemented using pure Swift.
2121
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
2222
public typealias DispatchTimeInterval = DispatchAsync.DispatchTimeInterval
2323
#endif

0 commit comments

Comments
 (0)