Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stdlib/public/Concurrency/TaskCancellation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ extension Task {
// This is @available(SwiftStdlib 6.4, *) but can't use SwiftStdlib in transparent function
if #available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, visionOS 9999, *) {
let ignoreTaskCancellationShield: UInt64 = 0x1
return unsafe _taskIsCancelledWithFlags(_task, flags: ignoreTaskCancellationShield)
return _taskIsCancelledWithFlags(_task, flags: ignoreTaskCancellationShield)
} else {
return _taskIsCancelled(_task)
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/Cxx/UnsafeCxxIterators.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ extension Optional: @unsafe UnsafeCxxInputIterator where Wrapped: UnsafeCxxInput
guard let value = self else {
fatalError("Could not dereference nullptr")
}
return unsafe value.__operatorStar()
return value.__operatorStar()
}
}

Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/RuntimeModule/ImageSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ struct ImageSource: CustomStringConvertible {
self.init(mapped: UnsafeRawBufferPointer(
start: base, count: size))
#else
var fd = _swift_open(path, O_RDONLY, 0)
let fd = _swift_open(path, O_RDONLY, 0)
if fd < 0 {
throw ImageSourceError.posixError(_swift_get_errno())
}
Expand Down