Skip to content

Commit 3374654

Browse files
committed
chg: Proper verb for deleted links
1 parent 7d59076 commit 3374654

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

actix/src/database.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ pub fn cleanup(db: &Connection) {
125125
)
126126
.inspect(|&u| {
127127
if u > 0 {
128-
info!("{u} expired link(s) were deleted.")
128+
info!(
129+
"{u} expired link{} deleted.",
130+
if u == 1 { " was" } else { "s were" }
131+
)
129132
}
130133
})
131134
.expect("Error cleaning expired links.");

0 commit comments

Comments
 (0)