Remove Sized bound on Module

This commit is contained in:
selfhoster selfhoster 2023-04-19 22:25:50 +02:00
parent 74bfea3434
commit 1f6c7e8dc4

View File

@ -116,7 +116,7 @@ pub trait ModuleSetup<A, S, E> {
/// A Module takes some arguments which can be serialized back to the playbook run, and can be run to produce /// A Module takes some arguments which can be serialized back to the playbook run, and can be run to produce
/// a certain result. /// a certain result.
pub trait Module<A: Serialize, S: Serialize, E: Serialize>: Sized { pub trait Module<A: Serialize, S: Serialize, E: Serialize> {
/// Return the module name as string slice /// Return the module name as string slice
fn module_name(&self) -> &'static str; fn module_name(&self) -> &'static str;