]> Untitled Git - bdk/commitdiff
Update Database BatchOperations flush() documentation
authorSteve Myers <steve@notmandatory.org>
Thu, 19 Aug 2021 11:56:38 +0000 (13:56 +0200)
committerSteve Myers <steve@notmandatory.org>
Thu, 19 Aug 2021 11:56:38 +0000 (13:56 +0200)
src/database/mod.rs

index 38c6d3bdf56e91970257a71eebb8a7cd46c0c881..6dbecc66cd88e8853e618af091b5889d7352e319 100644 (file)
@@ -135,7 +135,7 @@ pub trait Database: BatchOperations {
     /// It should insert and return `0` if not present in the database
     fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>;
 
-    /// Force changes to be written to disk, returning the number of bytes written
+    /// Force changes to be written to disk
     fn flush(&mut self) -> Result<(), Error>;
 }