projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update auto-generated bindings
[ldk-c-bindings]
/
lightning-c-bindings
/
src
/
lightning
/
util
/
logger.rs
diff --git
a/lightning-c-bindings/src/lightning/util/logger.rs
b/lightning-c-bindings/src/lightning/util/logger.rs
index 0e5836a64919f627c2a62a90c12da83cb471b353..eddadf6d9fe8a32d6ed30e6989f8d3b3f57fa234 100644
(file)
--- a/
lightning-c-bindings/src/lightning/util/logger.rs
+++ b/
lightning-c-bindings/src/lightning/util/logger.rs
@@
-97,7
+97,7
@@
pub extern "C" fn Level_eq(a: &Level, b: &Level) -> bool {
/// Checks if two Levels contain equal inner contents.
#[no_mangle]
pub extern "C" fn Level_hash(o: &Level) -> u64 {
/// Checks if two Levels contain equal inner contents.
#[no_mangle]
pub extern "C" fn Level_hash(o: &Level) -> u64 {
- // Note that we'd love to use std::collections::hash_map::DefaultHasher but its not in core
+ // Note that we'd love to use std::collections::hash_map::DefaultHasher but it
'
s not in core
#[allow(deprecated)]
let mut hasher = core::hash::SipHasher::new();
std::hash::Hash::hash(&o.to_native(), &mut hasher);
#[allow(deprecated)]
let mut hasher = core::hash::SipHasher::new();
std::hash::Hash::hash(&o.to_native(), &mut hasher);