diff options
Diffstat (limited to 'crates/shirabe/src/plugin/capability')
| -rw-r--r-- | crates/shirabe/src/plugin/capability/command_provider.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/shirabe/src/plugin/capability/command_provider.rs b/crates/shirabe/src/plugin/capability/command_provider.rs index 2453860a..9deb1bce 100644 --- a/crates/shirabe/src/plugin/capability/command_provider.rs +++ b/crates/shirabe/src/plugin/capability/command_provider.rs @@ -9,5 +9,6 @@ use crate::plugin::capability::Capability; /// The sole implementor is the PHP capability proxy (Composer itself never implements a /// capability), so the method is fallible: the answer crosses the RPC boundary. pub trait CommandProvider: Capability { - fn get_commands(&self) -> anyhow::Result<Vec<Box<dyn BaseCommand>>>; + fn get_commands(&self) + -> anyhow::Result<Vec<std::rc::Rc<std::cell::RefCell<dyn BaseCommand>>>>; } |
