feat: Implement Clone for Box<dyn FilterPlugin>

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-09-03 07:48:31 -03:00
parent 8c50af2246
commit feb508bf27

View File

@@ -40,6 +40,12 @@ impl Clone for FilterChain {
}
}
impl Clone for Box<dyn FilterPlugin> {
fn clone(&self) -> Self {
self.clone_box()
}
}
impl FilterChain {
pub fn new() -> Self {
Self {