mojo
mojo copied to clipboard
[Docs] Constraints documentations need to be repeated for overloaded methods
Where is the problem?
https://github.com/modularml/mojo/blob/a8f7393a0e1e3e0a307391b844e1f00e9c4a05d9/stdlib/src/memory/unsafe.mojo#L60-L255
What can we do better?
Right now, overloaded methods that delegate to one another do not repeat the constraints in the docstring. This provides confusion to users who are looking at the one(s) that doesn't have the constraints documented. One such instance is bitcast where there are missing constraints in the some of the docstring.
Anything else?
No response
Hi, Can I get this issue ?
I opened PR #2280
@Musa-Sina-Ertugrul are you still working on it? The previous PR was closed.