Any way to suppress nightly experimental APIs in docs?

When using the library documentation, I notice a lot of experimental functions ( for example here ).

I am sticking to stable rust, and when looking for a function, I can spend quite a bit of time finding functions I cannot actually use. Is there a simple way to get a copy of the stable documentation?

8 Likes

You could use uBlock Origin filters. Something like this hides methods:

##.method-toggle.rustdoc-toggle:has(.item-info > .stab.unstable)

Or, if you want to only hide the details and keep the method name and signature:

##.method-toggle.rustdoc-toggle > summary:has(.item-info > .stab.unstable) + .docblock

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.