Explorar o código

Also rename socket-dhcpv4 in error message.

Dario Nieuwenhuis %!s(int64=2) %!d(string=hai) anos
pai
achega
092aba1a1c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -108,7 +108,7 @@ compile_error!("You must enable at least one of the following features: proto-ip
         feature = "socket-dns",
     ))
 ))]
-compile_error!("If you enable the socket feature, you must enable at least one of the following features: socket-raw, socket-udp, socket-tcp, socket-icmp, socket-dhcp, socket-dns");
+compile_error!("If you enable the socket feature, you must enable at least one of the following features: socket-raw, socket-udp, socket-tcp, socket-icmp, socket-dhcpv4, socket-dns");
 
 #[cfg(all(
     feature = "socket",