Skip to content

Commit

Permalink
Fix unused extern crate warning with certain build flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
gz committed Jun 14, 2021
1 parent e36fabc commit 95f7abf
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 @@ -88,6 +88,7 @@ compile_error!("at least one socket needs to be enabled"); */
#![allow(clippy::option_map_unit_fn)]
#![allow(clippy::unit_arg)]

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

#[cfg(not(any(feature = "proto-ipv4", feature = "proto-ipv6")))]
Expand Down

0 comments on commit 95f7abf

Please sign in to comment.