remove public from rent code (#28687)

This commit is contained in:
Jeff Washington (jwash) 2022-10-31 13:37:36 -07:00 committed by GitHub
parent c47515d055
commit 1ba81acf9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ impl Default for RentCollector {
/// when rent is collected for this account, this is the action to apply to the account
#[derive(Debug)]
pub(crate) enum RentResult {
enum RentResult {
/// maybe collect rent later, leave account alone
LeaveAloneNoRent,
/// collect rent
@ -159,7 +159,7 @@ impl RentCollector {
/// determine what should happen to collect rent from this account
#[must_use]
pub(crate) fn calculate_rent_result(
fn calculate_rent_result(
&self,
address: &Pubkey,
account: &impl ReadableAccount,