Use `Result<_, io::Error>` over `io::Result<_>`
authorMatt Corallo <git@bluematt.me>
Wed, 27 Sep 2023 22:26:57 +0000 (22:26 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 28 Sep 2023 02:41:51 +0000 (02:41 +0000)
commit910a00e3d0cfb8aa21b83c9876f0f0137b14bba0
treeea6272e4bd482b99ff7074487b2eb6928a21d448
parent7b4fb9da886a58b32ad6a286eb7a5cd9c1ed01cf
Use `Result<_, io::Error>` over `io::Result<_>`

Personally I've always found the overload of a prelude enum to be
confusing, and never bothered to handle it properly in bindings as
a result. To avoid needing to do so now, we simply move the
newly-introduced `io::Result` usages over to
`Result<_, io::Error>`.
lightning/src/util/persist.rs