Skip to content

Commit 9b2f4dc

Browse files
committed
Minor
1 parent 34f0ba7 commit 9b2f4dc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Sources/Signal.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,6 @@ extension Signal where Error == Swift.Error {
238238
}
239239
}
240240
}
241-
242-
#if !XCFRAMEWORK
243-
244241
extension Signal where Error == Never {
245242

246243
/// Create a new signal by awaiting an async closure.
@@ -254,7 +251,12 @@ extension Signal where Error == Never {
254251
return BlockDisposable(task.cancel)
255252
}
256253
}
254+
}
257255

256+
#if !XCFRAMEWORK
257+
258+
extension Signal where Error == Never {
259+
258260
/// Create a new signal and assign its next element observer to the given variable.
259261
/// Calling the closure assigned to the varaible will send the next element on the signal.
260262
///

0 commit comments

Comments
 (0)