Update Database BatchOperations flush() documentation

This commit is contained in:
Steve Myers 2021-08-19 13:56:38 +02:00
parent fe30716fa2
commit 19d74955e2
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051

View File

@ -135,7 +135,7 @@ pub trait Database: BatchOperations {
/// It should insert and return `0` if not present in the database /// It should insert and return `0` if not present in the database
fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>; 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>; fn flush(&mut self) -> Result<(), Error>;
} }