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

Incomplete docstring #106

Open
serenity4 opened this issue Jun 10, 2022 · 2 comments
Open

Incomplete docstring #106

serenity4 opened this issue Jun 10, 2022 · 2 comments

Comments

@serenity4
Copy link
Contributor

I noticed the following docstring was incomplete:

OPTIONAL: Type inference is used to attempt to

@markmbaum
Copy link

Also noticed this

@nsajko
Copy link

nsajko commented May 22, 2024

The doc string with the unfinished sentence:

"""
childstatetype(::Type{T})
childstatetype(n)
Indicates the type of the iteration state of the tree node `n` or its type `T`. This is used by tree traversal
algorithms which must retain this state. It therefore is necessary to define this to ensure that most tree
traversal is type stable.
**OPTIONAL**: Type inference is used to attempt to
"""
childstatetype(::Type{T}) where {T} = Iterators.approx_iter_type(childrentype(T))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants