From 3829fc18c7f2d16d2c72852bde4b4b70bff8e370 Mon Sep 17 00:00:00 2001 From: vmammal Date: Wed, 17 Jan 2024 13:41:23 -0500 Subject: [PATCH] doc(store): update doc for `Store::aggregate_changesets` --- crates/file_store/src/store.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/file_store/src/store.rs b/crates/file_store/src/store.rs index ebab2fd0..2cc0f8c8 100644 --- a/crates/file_store/src/store.rs +++ b/crates/file_store/src/store.rs @@ -137,9 +137,9 @@ where /// Loads all the changesets that have been stored as one giant changeset. /// - /// This function returns a tuple of the aggregate changeset and a result that indicates - /// whether an error occurred while reading or deserializing one of the entries. If so the - /// changeset will consist of all of those it was able to read. + /// This function returns the aggregate changeset, or `None` if nothing was persisted. + /// If reading or deserializing any of the entries fails, an error is returned that + /// consists of all those it was able to read. /// /// You should usually check the error. In many applications, it may make sense to do a full /// wallet scan with a stop-gap after getting an error, since it is likely that one of the