Crate attributes before or after the crate docs?

What style did you prefer?

Crate attributes then docs

#![warn(missing_docs)]

//! Lorem ipsum

Crate docs then attributes

//! Lorem ipsum

#![warn(missing_docs)]
  • Attributes then docs
  • Docs then attributes
  • No opinion
0 voters

Also, is there a lint to enfore one or the other ?

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.