Skip to content

Commit 5f2d5de

Browse files
authored
Back out spelling change.
Documentation follows Apple Style Guide spelling: https://help.apple.com/applestyleguide/#/apsgb744e4a3#apdb51b39ece6204
1 parent b9bbe62 commit 5f2d5de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/AsyncStream.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ public struct AsyncStream<Element> {
321321
/// let stream = AsyncStream<Int> {
322322
/// await Task.sleep(1 * 1_000_000_000)
323323
/// return Int.random(in: 1...10)
324-
/// } onCancel: { @Sendable () in print("Cancelled.") }
324+
/// } onCancel: { @Sendable () in print("Canceled.") }
325325
///
326326
/// // Call point:
327327
/// for await random in stream {

0 commit comments

Comments
 (0)