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
A lot of our API is behind #[cfg]. Currently, that fact is only sometimes indicated in the documentation, which makes it hard to figure out, but as it turns out rustdoc has a feature for that: #[doc(cfg(<...>))].
This can be used to decorate types and method with information about their availability. An example of this can be seen in the async-std docs, which marks some APIs as unstable.
Activity
TDHolmes commentedon Dec 15, 2021
It looks like this is getting superseded by this automatically happening for us: rust-lang/rust#89596
TDHolmes commentedon Dec 15, 2021
Once rust-lang/rust#43781 lands, we should get this for free if I'm understanding things properly