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:
c725cd2
)
XXX: support a thing
author
Matt Corallo
<git@bluematt.me>
Sun, 31 Oct 2021 23:18:42 +0000
(23:18 +0000)
committer
Matt Corallo
<git@bluematt.me>
Tue, 2 Nov 2021 17:09:34 +0000
(17:09 +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 357fe4c815004a3ae775827a46ef3a34b013cc5b..0552633d69503a381f7c8c47a107fd63e0b49cec 100644
(file)
--- a/
c-bindings-gen/src/types.rs
+++ b/
c-bindings-gen/src/types.rs
@@
-137,7
+137,7
@@
pub fn export_status(attrs: &[syn::Attribute]) -> ExportStatus {
}
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!(); }
}