This commit is contained in:
2023-05-09 00:09:06 +02:00
parent 678b65146b
commit de757e7e50
3 changed files with 4 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ async fn process<T>(
where
T: Debug + FromVecExpression<T> + Update,
{
if deps.len() != 0 {
if !deps.is_empty() {
loop {
let mut some_failed = false;
let mut some_none = false;
@@ -155,7 +155,7 @@ where
match value.update(&client, source_id).await {
Ok(_) => {
// log::info!("{:?}", value);
()
}
Err(err) => {
log::error!("Update error: {:?} : {:?}", value, err);