Skip to content

Commit 5d914e9

Browse files
authored
Merge pull request #4369 from TheBlueMatt/2026-01-spurious-doc
Remove spurious universality comment on `KVStore`
2 parents 3b02885 + 16a6916 commit 5d914e9

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

lightning/src/util/persist.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,20 +258,13 @@ where
258258
/// namespace, i.e., conflicts between keys and equally named
259259
/// primary namespaces/secondary namespaces must be avoided.
260260
///
261-
/// Instantiations of this trait should generally be shared by reference across the lightning
262-
/// node's components. E.g., it would be unsafe to provide a different [`KVStore`] to
263-
/// [`OutputSweeper`] vs [`MonitorUpdatingPersister`].
264-
///
265261
/// **Note:** Users migrating custom persistence backends from the pre-v0.0.117 `KVStorePersister`
266262
/// interface can use a concatenation of `[{primary_namespace}/[{secondary_namespace}/]]{key}` to
267263
/// recover a `key` compatible with the data model previously assumed by `KVStorePersister::persist`.
268264
///
269265
/// For a synchronous version of this trait, see [`KVStoreSync`].
270266
///
271267
/// This is not exported to bindings users as async is only supported in Rust.
272-
///
273-
/// [`OutputSweeper`]: crate::util::sweep::OutputSweeper
274-
/// [`MonitorUpdatingPersister`]: crate::util::persist::MonitorUpdatingPersister
275268
// Note that updates to documentation on this trait should be copied to the synchronous version.
276269
pub trait KVStore {
277270
/// Returns the data stored for the given `primary_namespace`, `secondary_namespace`, and

0 commit comments

Comments
 (0)