save tests
This commit is contained in:
@@ -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())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user