Borrow deserialized values

This commit is contained in:
mo8it
2026-02-26 16:10:09 +01:00
parent 13564207cb
commit 0cbcb8964c
10 changed files with 57 additions and 54 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ fn main() -> Result<ExitCode> {
None
} else {
// For the notify event handler thread.
// Leaking is not a problem because the slice lives until the end of the program.
// Leaking is fine since the slice is used until the end of the program.
Some(
&*app_state
.exercises()