Эх сурвалжийг харах

Also import alloc crate for std.

Gerd Zellweger 3 жил өмнө
parent
commit
e36fabce2d
1 өөрчлөгдсөн 0 нэмэгдсэн , 1 устгасан
  1. 0 1
      src/lib.rs

+ 0 - 1
src/lib.rs

@@ -88,7 +88,6 @@ compile_error!("at least one socket needs to be enabled"); */
 #![allow(clippy::option_map_unit_fn)]
 #![allow(clippy::unit_arg)]
 
-#[cfg(feature = "alloc")]
 extern crate alloc;
 
 #[cfg(not(any(feature = "proto-ipv4", feature = "proto-ipv6")))]