Skip to content

Commit

Permalink
Merge pull request #588 from arlyon/docs-features
Browse files Browse the repository at this point in the history
Enable rustdoc cfg feature
  • Loading branch information
arlyon authored Sep 24, 2024
2 parents f736d90 + 70f08a0 commit af7b0f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
#![forbid(unsafe_code)]
// Workaround
#![allow(ambiguous_glob_reexports)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

// Give a clear error when a required runtime error is not present. Would be better for this
// to be a fatal error preventing emission of further compile errors relating to lack of
Expand Down

0 comments on commit af7b0f8

Please sign in to comment.