Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-991] Clarify underestimatedCount() stdlib Collection.swift documentation #43603

Closed
swift-ci opened this issue Mar 19, 2016 · 4 comments
Closed
Assignees
Labels

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-991
Radar None
Original Reporter willstanton1@yahoo.com (JIRA User)
Type Improvement
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Improvement, Documentation
Assignee @natecook1000
Priority Medium

md5: 9c2e0d43e06bd14938af7d55e21cec44

Issue Description:

Documentation could be clarified to add/just say "API implements Sequence by returning count" instead of:
/// Returns a value less than or equal to the number of elements in
/// `self`, nondestructively.

@gribozavr
Copy link
Collaborator

CC @natecook1000 amartini (JIRA User)

@swift-ci
Copy link
Collaborator Author

Comment by W S (JIRA)

amartini (JIRA User)@natecook1000 Perhaps there can be a note in types where inherited (including in Collection) that underestimatedCount comes from Sequence? Great edits! https://github.com/apple/swift/pull/2302/files#diff-2

@Dante-Broggi
Copy link
Contributor

Is this resolved? If so, this should be closed.

@natecook1000
Copy link
Member

Closing, as this was resolved a while ago.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants