Rename active() to is_active()

This commit is contained in:
Michael Vines
2020-09-24 13:31:51 -07:00
parent 3a2b8c5e5b
commit e39fac9f01
4 changed files with 12 additions and 12 deletions

View File

@@ -44,7 +44,7 @@ pub struct FeatureSet {
}
impl FeatureSet {
pub fn active(&self, feature_id: &Pubkey) -> bool {
pub fn is_active(&self, feature_id: &Pubkey) -> bool {
self.active.contains(feature_id)
}
}