Skip to content

Commit 7b577a7

Browse files
committed
Disable AllPublicDeclarationsHaveDocumentation because it's too excessive
1 parent 07b22f6 commit 7b577a7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.swift-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"prioritizeKeepingFunctionOutputTogether": false,
2424
"respectsExistingLineBreaks": true,
2525
"rules": {
26-
"AllPublicDeclarationsHaveDocumentation": true,
26+
"AllPublicDeclarationsHaveDocumentation": false,
2727
"AlwaysUseLiteralForEmptyCollectionInit": false,
2828
"AlwaysUseLowerCamelCase": false,
2929
"AmbiguousTrailingClosureOverload": false,

Sources/Subprocess/Configuration.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ internal func _safelyClose(_ target: _CloseTarget) throws {
653653

654654
/// An IO descriptor wraps platform-specific file descriptor, which establishes a
655655
/// connection to the standard input/output (IO) system during the process of
656-
/// spawning a child process.
656+
/// spawning a child process.
657657
///
658658
/// Unlike a file descriptor, the `IODescriptor` does not support
659659
/// data read/write operations; its primary function is to facilitate the spawning of
@@ -970,7 +970,7 @@ extension Optional where Wrapped == String {
970970
/// Runs the body close, then runs the on-cleanup closure if the body closure throws an error
971971
/// or if the parent task is cancelled.
972972
///
973-
/// In the latter case, `onCleanup` may be run concurrently with `body`.
973+
/// In the latter case, `onCleanup` may be run concurrently with `body`.
974974
/// The `body` closure is guaranteed to run exactly once.
975975
/// The `onCleanup` closure is guaranteed to run only once, or not at all.
976976
internal func withAsyncTaskCleanupHandler<Result>(

0 commit comments

Comments
 (0)