enshort to common variable name

This commit is contained in:
yggverse 2024-12-14 07:04:23 +02:00
parent dd5fada7c7
commit 293c7d0aa3
15 changed files with 69 additions and 69 deletions

View file

@ -52,7 +52,7 @@ impl Database {
// Done
match tx.commit() {
Ok(_) => Ok(id),
Err(reason) => Err(reason),
Err(e) => Err(e),
}
}
@ -66,9 +66,9 @@ impl Database {
match delete(&tx, id) {
Ok(_) => match tx.commit() {
Ok(_) => Ok(()),
Err(reason) => Err(reason),
Err(e) => Err(e),
},
Err(reason) => Err(reason),
Err(e) => Err(e),
}
}
}