diff --git a/src/lib.rs b/src/lib.rs index e90ff8a..5fc0303 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,7 +2,7 @@ use eui48::MacAddress; pub use lua_typed_macro::Typed; use std::{ - collections::HashMap, + collections::{HashMap, VecDeque}, net::{Ipv4Addr, SocketAddr}, }; @@ -176,6 +176,12 @@ impl Typed for Vec { } } +impl Typed for VecDeque { + fn type_name() -> String { + format!("{}[]", ::type_name()) + } +} + impl Typed for HashMap { fn type_name() -> String { format!(