save tests

This commit is contained in:
2026-04-11 21:34:48 +02:00
parent bc25fef5ec
commit 0d7074bd89
4 changed files with 23 additions and 11 deletions

View File

@@ -563,7 +563,7 @@ impl Esp<'_> {
match self.savegame.load_slot(idx)? {
None => bail!("Slot {idx} is empty or invalid"),
Some(data) => {
Ok(String::from_utf8_lossy(&*data).to_string())
Ok(String::from_utf8_lossy(&data).to_string())
}
}
}