projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
6b4c8e4
)
[bindings] Be explicit when calling pointer.is_null()
author
Matt Corallo
<git@bluematt.me>
Mon, 1 Mar 2021 22:07:29 +0000
(17:07 -0500)
committer
Matt Corallo
<git@bluematt.me>
Sun, 7 Mar 2021 18:06:07 +0000
(13:06 -0500)
When the (somewhat anti-pattern)
`impl Deref for X { type Target = X; .. }` is used, this avoids an
infinite dereference exception trying to figure out what type to
resolve `is_null` against.
No differences found