Fix String interpolation warnings (#1172)

This commit is contained in:
Keita Watanabe 2023-03-05 15:25:52 +09:00 committed by GitHub
parent 310a5fba99
commit 1989ee1b0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ public class ReblogCache {
// just a quick check to makes sure that this wasn't boosted by the current // just a quick check to makes sure that this wasn't boosted by the current
// user. Hiding that would be confusing // user. Hiding that would be confusing
// But assuming it isn't then we can suppress this boost // But assuming it isn't then we can suppress this boost
print("suppressing: \(reblog.id)/ \(reblog.account.displayName) by \(status.account.displayName)") print("suppressing: \(reblog.id)/ \(String(describing: reblog.account.displayName)) by \(String(describing: status.account.displayName))")
statuses.remove(at: i) statuses.remove(at: i)
// assert(statuses.count == (ct-1)) // assert(statuses.count == (ct-1))
} }