]> git.bitcoin.ninja Git - rust-lightning/commit
Export error type instead of entire modules
authorElias Rohrer <ero@tnull.de>
Fri, 9 Sep 2022 11:19:43 +0000 (13:19 +0200)
committerElias Rohrer <ero@tnull.de>
Mon, 12 Sep 2022 18:25:54 +0000 (20:25 +0200)
commit0190fec003d85a1ecbe615aadb4010bbb92b45a1
tree574aac7b9fd1a3d045c2c209d8c4b45f3f4ee1d0
parentdbd0ab8cf8fc387850960068e5e609ed57ba5baf
Export error type instead of entire modules

Previously the `error` and `processing` modules have been `pub`, leading
to them being included in the docs, altough (almost) empty.

Instead, we now `pub use` the `GraphSyncError` directly, cleaning up the
docs.
lightning-rapid-gossip-sync/src/lib.rs