Closed emilk closed 2 years ago
The docs suggest also to use cfg_attr
in that case.
You could use
#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
If you think the docs are not clear enough feel free to make a suggestion :-)
Ah, I didn't read the far, just copy-pasted the first thing I saw :P
I made a PR where I suggest we always use the more verbose #![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
Hi, and thanks for a great crate!
The docs suggests adding this to your
Cargo.toml
:The problem with this is that it breaks
cargo check
:I would suggest updating the docs to instead just have
unless there is some way to get around the
cargo check
issue that I'm not aware of