document-features icon indicating copy to clipboard operation
document-features copied to clipboard

Consider a shorter alias for the macro name

Open pravic opened this issue 3 years ago • 1 comments

Because #![doc = document_features::document_features!()] is quite long and unnecessary repeats itself.

I think it'll be better to have something like document_features::get!(), extract, etc.

pravic avatar Feb 10 '22 12:02 pravic

That's true. On the other hand, this only appear once per crate, so not such a big deal. And the document-features crate can be imported with another name, or the macro used.

I'm not so convinced by the suggested names though.

ogoffart avatar Feb 11 '22 22:02 ogoffart