From: Matt Corallo Date: Mon, 17 Apr 2023 17:42:40 +0000 (+0000) Subject: Fix documentation on generated _hash methods for std::hash::Hash X-Git-Tag: v0.0.115.0^2~8 X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-c-bindings;a=commitdiff_plain;h=1b629f532e3ad38659d18305f3df7973e090840a Fix documentation on generated _hash methods for std::hash::Hash --- diff --git a/c-bindings-gen/src/main.rs b/c-bindings-gen/src/main.rs index ffd293f..7106400 100644 --- a/c-bindings-gen/src/main.rs +++ b/c-bindings-gen/src/main.rs @@ -1289,7 +1289,7 @@ fn writeln_impl(w: &mut W, w_uses: &mut HashSet u64 {{\n", ident, ident).unwrap(); if types.c_type_has_inner_from_path(&resolved_path) { write!(w, "\tif o.inner.is_null() {{ return 0; }}\n").unwrap();