mirror of
https://github.com/apple/swift-system
synced 2026-11-22 04:30:46 +00:00
`FileDescriptor.duplicate(as:retryOnInterrupt:)` writes its first parameter entry as ``- `target`:`` rather than `- target:`. DocC matches parameter documentation by the bare identifier, so the backticked entry is not associated with the parameter: the description is dropped from the rendered parameter list and DocC reports the parameter as undocumented. The `duplicate(as:options:retryOnInterrupt:)` overload twenty lines below documents the same parameter without backticks, which is what this changes the first overload to match. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MDv2d3fEYCVWGpu7AgD4qq