Skip to content

Commit beb728a

Browse files
committed
rust: fix clippy::doc_overindented_list_items
1 parent bd51e49 commit beb728a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ledger/src/ondisk/database.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ impl Database {
256256
/// # Returns
257257
///
258258
/// * `Result<Self>` - Returns an instance of the database if successful, otherwise
259-
/// returns an error.
259+
/// returns an error.
260260
///
261261
/// # Errors
262262
///
@@ -431,7 +431,7 @@ impl Database {
431431
/// # Returns
432432
///
433433
/// * `Result<Option<Box<[u8]>>>` - Returns an optional values if the key exists;
434-
/// otherwise, None. Returns an error if something goes wrong.
434+
/// otherwise, None. Returns an error if something goes wrong.
435435
pub fn get(&mut self, key: &[u8]) -> std::io::Result<Option<Value>> {
436436
// Note: `&mut self` is required for `File::seek`
437437

@@ -537,7 +537,7 @@ impl Database {
537537
/// # Returns
538538
///
539539
/// * `Result<Vec<Option<Box<[u8]>>>>` - Returns a vector of optional values
540-
/// corresponding to each key; if a key is not found, returns None.
540+
/// corresponding to each key; if a key is not found, returns None.
541541
pub fn get_batch<K>(&mut self, keys: K) -> std::io::Result<Vec<Option<Value>>>
542542
where
543543
K: IntoIterator<Item = Key>,

0 commit comments

Comments
 (0)