Skip to content

Commit 1904c44

Browse files
Expose AsyncBlockSourceResult as pub
1 parent 8a8c75a commit 1904c44

File tree

1 file changed

+1
-1
lines changed
  • lightning-block-sync/src

1 file changed

+1
-1
lines changed

lightning-block-sync/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ type BlockSourceResult<T> = Result<T, BlockSourceError>;
8080
// TODO: Replace with BlockSourceResult once `async` trait functions are supported. For details,
8181
// see: https://areweasyncyet.rs.
8282
/// Result type for asynchronous `BlockSource` requests.
83-
type AsyncBlockSourceResult<'a, T> = Pin<Box<dyn Future<Output = BlockSourceResult<T>> + 'a + Send>>;
83+
pub type AsyncBlockSourceResult<'a, T> = Pin<Box<dyn Future<Output = BlockSourceResult<T>> + 'a + Send>>;
8484

8585
/// Error type for `BlockSource` requests.
8686
///

0 commit comments

Comments
 (0)