Remove Sized bound on Module
This commit is contained in:
parent
74bfea3434
commit
1f6c7e8dc4
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user