Skip to content

Commit 690b432

Browse files
committed
f - Move TODO to non-doc comment
1 parent 6f5f584 commit 690b432

File tree

1 file changed

+2
-3
lines changed
  • lightning-block-sync/src

1 file changed

+2
-3
lines changed

lightning-block-sync/src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ pub trait BlockSource : Sync + Send {
3535
/// Result type for `BlockSource` requests.
3636
type BlockSourceResult<T> = Result<T, BlockSourceError>;
3737

38+
// TODO: Replace with BlockSourceResult once `async` trait functions are supported. For details,
39+
// see: https://areweasyncyet.rs.
3840
/// Result type for asynchronous `BlockSource` requests.
39-
///
40-
/// TODO: Replace with BlockSourceResult once `async` trait functions are supported. For details,
41-
/// see: https://areweasyncyet.rs.
4241
type AsyncBlockSourceResult<'a, T> = Pin<Box<dyn Future<Output = BlockSourceResult<T>> + 'a + Send>>;
4342

4443
/// Error type for `BlockSource` requests.

0 commit comments

Comments
 (0)