Do not force `Deref<T>` generic params to always be a `&T`
authorMatt Corallo <git@bluematt.me>
Fri, 24 Jun 2022 01:20:33 +0000 (01:20 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 24 Jun 2022 21:27:19 +0000 (21:27 +0000)
commit929b97a07daa8fc205b6b1795b597a8cde8bb346
treee113722b8062962b7c1764d80e8072ec64104996
parent0be2fd3aadc1897e14a420ebe1a77fd25ec9ab2f
Do not force `Deref<T>` generic params to always be a `&T`

This is a bit of a toss-up, really neither option is fully correct,
really we need it to depend on the type of object in question, but
that takes more work and it looks like we don't use the `&T`
resolution anymore.
c-bindings-gen/src/types.rs