projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow liftime bounds on generic bounds
[ldk-c-bindings]
/
c-bindings-gen
/
src
/
types.rs
diff --git
a/c-bindings-gen/src/types.rs
b/c-bindings-gen/src/types.rs
index c35b7aecf14034830d3b7eede68f05d3d5034dc5..5fd874d3308ce04e362729d97dd13729115459e4 100644
(file)
--- a/
c-bindings-gen/src/types.rs
+++ b/
c-bindings-gen/src/types.rs
@@
-147,7
+147,7
@@
pub fn export_status(attrs: &[syn::Attribute]) -> ExportStatus {
}
pub fn assert_simple_bound(bound: &syn::TraitBound) {
}
pub fn assert_simple_bound(bound: &syn::TraitBound) {
- if bound.paren_token.is_some()
|| bound.lifetimes.is_some()
{ unimplemented!(); }
+ if bound.paren_token.is_some() { unimplemented!(); }
if let syn::TraitBoundModifier::Maybe(_) = bound.modifier { unimplemented!(); }
}
if let syn::TraitBoundModifier::Maybe(_) = bound.modifier { unimplemented!(); }
}