add comment (#19705)

This commit is contained in:
Jeff Washington (jwash) 2021-09-08 19:25:20 -05:00 committed by GitHub
parent 4afd6dddc8
commit 1cf7ae51f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ impl RentCollector {
// updates this account's lamports and status and returns
// the account rent collected, if any
//
// This is NOT thread safe at some level. If we try to collect from the same account in parallel, we may collect twice.
#[must_use = "add to Bank::collected_rent"]
pub fn collect_from_existing_account(
&self,