make the project compile again

This commit is contained in:
Tamo 2022-09-07 20:38:57 +02:00 committed by Clément Renault
parent d87b769469
commit 7c56fcfef3
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
3 changed files with 8 additions and 8 deletions

View file

@ -124,8 +124,8 @@ impl Index {
self.settings_txn(&txn)
}
pub fn name(&self) -> String {
self.name
pub fn name(&self) -> &str {
&self.name
}
pub fn settings_txn(&self, txn: &RoTxn) -> Result<Settings<Checked>> {