refactor: follow clippy recommendation :
- Remove unused constructor for Table & Column - Add .expect in databases. disconnect - Remove usedless String::from in column serializer
This commit is contained in:
@@ -26,7 +26,7 @@ impl DbBuilderFacade {
|
||||
|
||||
if let Ok(connection) = connection_result {
|
||||
run_command(&connection, sql_tables).expect("Failed to execute query");
|
||||
disconnect(connection).expect("Failed to disconnect from sqlite");
|
||||
disconnect(connection);
|
||||
Ok(())
|
||||
} else {
|
||||
Err("Failed to connect to the server".to_string())
|
||||
|
||||
Reference in New Issue
Block a user