Skip to content

Commit

Permalink
chore: Fix 'unused extern crate' warning
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Feb 25, 2024
1 parent 55d74a5 commit 3c7216f
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 @@ -76,6 +76,7 @@
html_logo_url = "https://raw.githubusercontent.com/smol-rs/smol/master/assets/images/logo_fullsize_transparent.png"
)]

#[cfg(not(feature = "std"))]
extern crate alloc;

#[cfg_attr(feature = "std", path = "std.rs")]
Expand Down

0 comments on commit 3c7216f

Please sign in to comment.