use write method

This commit is contained in:
yggverse 2024-11-12 17:37:47 +02:00
parent 1457954ee3
commit c279576ee2

View File

@ -25,7 +25,7 @@ impl Database {
}; };
// Init profile components // Init profile components
match connection.try_write() { match connection.write() {
Ok(writable) => { Ok(writable) => {
if let Err(reason) = init(writable) { if let Err(reason) = init(writable) {
panic!("{reason}") panic!("{reason}")