Skip to content

Commit 52ac4e2

Browse files
committed
fixup! docs: remove examples from BackgroundProcessorConfig
1 parent 187b93c commit 52ac4e2

File tree

1 file changed

+2
-5
lines changed
  • lightning-background-processor/src

1 file changed

+2
-5
lines changed

lightning-background-processor/src/lib.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,13 +1182,10 @@ impl BackgroundProcessor {
11821182
/// event processing.
11831183
///
11841184
/// This configuration holds all components needed for background processing,
1185-
/// including required components (like the channel manager and peer manager) and optional
1186-
/// components (like the liquidity_manager, sweeper, onion messenger and scorer).
1185+
/// including required and optional components.
11871186
///
11881187
/// The configuration can be constructed using [`BackgroundProcessorConfigBuilder`], which provides
11891188
/// a convenient builder pattern for setting up both required and optional components.
1190-
///
1191-
/// This same configuration can be used for Creating a [`BackgroundProcessor`] via [`BackgroundProcessor::from_config`]
11921189
#[cfg(feature = "std")]
11931190
pub struct BackgroundProcessorConfig<
11941191
'a,
@@ -1250,7 +1247,7 @@ pub struct BackgroundProcessorConfig<
12501247
/// A builder for constructing a [`BackgroundProcessorConfig`] with optional components.
12511248
///
12521249
/// This builder provides a flexible and type-safe way to construct a [`BackgroundProcessorConfig`]
1253-
/// with optional components like `onion_messenger` and `scorer`. It helps avoid specifying
1250+
/// with optional and required components. It helps avoid specifying
12541251
/// concrete types for components that aren't being used.
12551252
#[cfg(feature = "std")]
12561253
pub struct BackgroundProcessorConfigBuilder<

0 commit comments

Comments
 (0)