Skip to content

Commit 20a442f

Browse files
committed
Minor codeRabbitAI suggestions
1 parent e0cb9b7 commit 20a442f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

programs/mpl-core/src/plugins/internal/permanent/bubblegum_v2.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ pub struct BubblegumV2 {}
1919
impl BubblegumV2 {
2020
/// List of other plugins allowed on collections with the Bubblegum V2 plugin.
2121
/// The BubblegumV2 plugin limits what can be on the collection to plugins that are
22-
/// supported and validated at runtime by the Bubblegum program.
23-
pub const ALLOW_LIST: [PluginType; 6] = [
22+
/// supported and validated at runtime by the Bubblegum program. Other plugins may
23+
/// be added in the future but for now this subset was chosen.
24+
pub(crate) const ALLOW_LIST: [PluginType; 6] = [
2425
PluginType::Attributes,
2526
PluginType::PermanentFreezeDelegate,
2627
PluginType::PermanentTransferDelegate,
@@ -80,7 +81,8 @@ impl PluginValidation for BubblegumV2 {
8081
// If the BubblegumV2 plugin is present, no external plugin adapters
8182
// can be added. The BubblegumV2 plugin limits what can be on the
8283
// collection to plugins that are supported and validated at runtime
83-
// by the Bubblegum program.
84+
// by the Bubblegum program. External plugin adapters may be added
85+
// in the future but for now this subset was chosen.
8486
reject!()
8587
}
8688
}

0 commit comments

Comments
 (0)