mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-09-29 22:12:04 +00:00
Use != 0 instead of > 0
This commit is contained in:
parent
f4e4836fa6
commit
8d454c48d0
@ -91,7 +91,7 @@ ORDER BY id
|
||||
for rec in recs {
|
||||
println!(
|
||||
"- [{}] {}: {}",
|
||||
if rec.done > 0 { "x" } else { " " },
|
||||
if rec.done != 0 { "x" } else { " " },
|
||||
rec.id,
|
||||
&rec.description,
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user