Skip to content

Commit a8a96fa

Browse files
authored
chore: Provide explanations for commented code.
1 parent 67c6c6a commit a8a96fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lib.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,17 @@
2626
//! will have exactly ten elements. An attempt to add an 11th element will lead
2727
//! to a panic.
2828
29-
#![cfg_attr(docsrs, feature(doc_cfg))]
3029
#![cfg_attr(all(not(feature = "std"), not(doc), not(test)), no_std)]
3130
#![doc(html_root_url = "https://docs.rs/micromap/0.0.0")]
3231
#![deny(warnings)]
3332
#![warn(clippy::all, clippy::pedantic, clippy::nursery, clippy::cargo)]
3433
#![warn(rust_2018_idioms)]
35-
// #![warn(missing_docs)]
34+
// About the docs
35+
#![cfg_attr(docsrs, feature(doc_cfg))]
3636
#![cfg_attr(docsrs, feature(rustdoc_missing_doc_code_examples))]
3737
#![warn(rustdoc::missing_crate_level_docs)]
38+
// Our Goal, uncomment these!
39+
// #![warn(missing_docs)]
3840
// #![doc(test(attr(deny(unused))))]
3941
#![doc(test(attr(warn(unused))))]
4042

0 commit comments

Comments
 (0)