Explorar el Código

Add a missing feature check.

whitequark hace 7 años
padre
commit
e0cbe22556
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/iface/neighbor.rs

+ 1 - 0
src/iface/neighbor.rs

@@ -103,6 +103,7 @@ impl<'a> Cache<'a> {
                             .0
                     }
                     // Owned maps can extend themselves.
+                    #[cfg(any(feature = "std", feature = "alloc"))]
                     ManagedMap::Owned(_) => unreachable!()
                 };