We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d59076 commit 3374654Copy full SHA for 3374654
actix/src/database.rs
@@ -125,7 +125,10 @@ pub fn cleanup(db: &Connection) {
125
)
126
.inspect(|&u| {
127
if u > 0 {
128
- info!("{u} expired link(s) were deleted.")
+ info!(
129
+ "{u} expired link{} deleted.",
130
+ if u == 1 { " was" } else { "s were" }
131
+ )
132
}
133
})
134
.expect("Error cleaning expired links.");
0 commit comments