mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-02-27 04:31:33 +01:00
Fix fmt
This commit is contained in:
parent
5035487208
commit
df2fcac36c
@ -452,8 +452,7 @@ impl Index {
|
|||||||
|
|
||||||
/// Returns the stats of the documents database.
|
/// Returns the stats of the documents database.
|
||||||
pub fn documents_stats(&self, rtxn: &RoTxn<'_>) -> heed::Result<Option<DatabaseStats>> {
|
pub fn documents_stats(&self, rtxn: &RoTxn<'_>) -> heed::Result<Option<DatabaseStats>> {
|
||||||
self
|
self.main
|
||||||
.main
|
|
||||||
.remap_types::<Str, SerdeJson<DatabaseStats>>()
|
.remap_types::<Str, SerdeJson<DatabaseStats>>()
|
||||||
.get(rtxn, main_key::DOCUMENTS_STATS)
|
.get(rtxn, main_key::DOCUMENTS_STATS)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user