You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this issue to be actionable, you should probably define what we should do. It's implied, but may not be clear or it may imply different things to us than to you :)
Impl blocks are tricky because they are simply removed if the feature isn't enabled. This pretty much is the only way to treat trait impls - there is no such thing as a private impl, or a trait impl with private methods.
We could maybe? redefine the attribute on inherent impl blocks, to instead apply the attribute to all items in that block. As this is pretty much my fault/mistake/oversight I don't think the ratatui team would mind, but I think it would be a weird (and breaking) change to handle different impl blocks in such a different way.
It's also easier to remove/stabilize instability markers if they are placed individually. It's also probably more obvious from reading the code what's stable and what's not.
TLDR; I think we should probably mark each function.
First discovered here: #3021 (comment)
Sometimes we mark an impl block as unstable which produces some not so helpful docs:
Sometimes we apply it per function:
The text was updated successfully, but these errors were encountered: