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
This may be a little confusing compared to the standard practice of rustdoc-args = ["--cfg", "docsrs"], this section should clarify that this cfg is used for things like the build.rs or dependencies but not for the docs themselves.
The text was updated successfully, but these errors were encountered:
I think the sentence after that also makes it sound more generally applicable then it is:
Here, the compiler arguments are set so that #[cfg(docsrs)] (not to be confused with #[cfg(doc)]) can be used for conditional compilation.
Which I think may have confused me (though I don't quite remember). EDIT: In any case it would be good to have the standard practice documented somewhere on that page.
This may be a little confusing compared to the standard practice of
rustdoc-args = ["--cfg", "docsrs"]
, this section should clarify that thiscfg
is used for things like thebuild.rs
or dependencies but not for the docs themselves.The text was updated successfully, but these errors were encountered: