Closed swift-ci closed 6 months ago
@swift-ci create
Hi there,
I want to contribute to this project and take on this issue as my first task. Could you please assign it to me? I am excited to work towards resolving it and will keep the team updated on my progress.
Thanks
This is most certainly in reference to https://docs.swift.org/swift-book/documentation/the-swift-programming-language/generics#Type-Constraint-Syntax. I am not sure I understand what the issue was, but it looks to be fixed either way.
@xedin Please transfer this.
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | | |Labels | Bug, Documentation | |Assignee | None | |Priority | Medium | md5: 3e617c9256c72de7cf760b3f09a50b85Issue Description:
There is an incorrect example in "Generics" part of Documentation, section "Type Constraints/Type Constraints Syntax"
The hypothetical function
is not a generic function.
You can write
with the same results.