Skip to content

Commit

Permalink
Make the doc_auto_cfg a crate-level attribute.
Browse files Browse the repository at this point in the history
Co-authored-by: John Nunley <jtnunley01@gmail.com>
  • Loading branch information
james7132 and notgull authored Apr 14, 2024
1 parent 0fc9770 commit c4b59c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
#![doc(
html_logo_url = "https://raw.githubusercontent.com/smol-rs/smol/master/assets/images/logo_fullsize_transparent.png"
)]
#[cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

use std::fmt;
use std::marker::PhantomData;
use std::panic::{RefUnwindSafe, UnwindSafe};
Expand Down

0 comments on commit c4b59c5

Please sign in to comment.