]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Take parameters to trait functions as mut
authorMatt Corallo <git@bluematt.me>
Thu, 29 Apr 2021 22:49:40 +0000 (22:49 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 30 Apr 2021 04:35:57 +0000 (04:35 +0000)
commit21cd454337357652dc354c012a6a6ddd2b711aa5
tree47e092833cca5652f0bc0a8458b603552a49c1b1
parent9069bc0ea8b7fdaa9ee276d78fb0610157edbcf2
Take parameters to trait functions as mut

In keeping with "generally, make all variables mut so that
converters can assume inputs are mut", we should do the same for
trait implementation blocks.
c-bindings-gen/src/main.rs