]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Handle `Vec`s resolved as `alloc::vec::Vec`
authorMatt Corallo <git@bluematt.me>
Tue, 4 Jun 2024 17:47:02 +0000 (17:47 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 4 Jun 2024 17:47:02 +0000 (17:47 +0000)
commitd5bd2d5366d797aa990799f78cc987b0be73de71
tree2382998d916e1739aa72d1db1ef4e832892024fd
parent94b7d3f0a4a8a969416962b46d122957a5cb5463
Handle `Vec`s resolved as `alloc::vec::Vec`

Up until now we'd always relied on `Vec`s being imported through a
prelude, but LDK sometimes forgets to keep doing that. Thus, here
we move to also accepting `alloc::vec::Vec` by mapping it to `Vec`
during name resolution.
c-bindings-gen/src/types.rs