[bindings] Implement ReadableArgs mapping, try impl mapping for ()s
[rust-lightning] / c-bindings-gen / src / types.rs
index eacae9034264a214b071c2bc03203e1216893d81..d6a2c989e1ab21694882fd0c713d311f655800c4 100644 (file)
@@ -1053,7 +1053,7 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> {
        pub fn write_rust_type<W: std::io::Write>(&self, w: &mut W, generics: Option<&GenericTypes>, t: &syn::Type) {
                match t {
                        syn::Type::Path(p) => {
-                               if p.qself.is_some() || p.path.leading_colon.is_some() {
+                               if p.qself.is_some() {
                                        unimplemented!();
                                }
                                self.write_rust_path(w, generics, &p.path);