projects
/
ldk-c-bindings
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cde1b93
)
Drop debug print that slipped into git
author
Matt Corallo
<git@bluematt.me>
Thu, 29 Apr 2021 22:18:52 +0000
(22:18 +0000)
committer
Matt Corallo
<git@bluematt.me>
Fri, 30 Apr 2021 04:35:57 +0000
(
04:35
+0000)
c-bindings-gen/src/types.rs
patch
|
blob
|
history
diff --git
a/c-bindings-gen/src/types.rs
b/c-bindings-gen/src/types.rs
index 99fafd490a065450dd93fc282e29144e47ccc058..9ef83f2a41a97221305f3aaeaecdf38f315ac712 100644
(file)
--- a/
c-bindings-gen/src/types.rs
+++ b/
c-bindings-gen/src/types.rs
@@
-558,7
+558,6
@@
impl<'mod_lifetime, 'crate_lft: 'mod_lifetime> ImportResolver<'mod_lifetime, 'cr
pub fn resolve_imported_refs(&self, mut ty: syn::Type) -> syn::Type {
match &mut ty {
syn::Type::Path(p) => {
pub fn resolve_imported_refs(&self, mut ty: syn::Type) -> syn::Type {
match &mut ty {
syn::Type::Path(p) => {
-eprintln!("rir {:?}", p);
if p.path.segments.len() != 1 { unimplemented!(); }
let mut args = p.path.segments[0].arguments.clone();
if let syn::PathArguments::AngleBracketed(ref mut generics) = &mut args {
if p.path.segments.len() != 1 { unimplemented!(); }
let mut args = p.path.segments[0].arguments.clone();
if let syn::PathArguments::AngleBracketed(ref mut generics) = &mut args {