diff --git a/src/lib.rs b/src/lib.rs index d06a889..218c262 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,7 +14,7 @@ pub enum KError<'a> { } pub type KResult<'a, T> = Result>; -pub trait KStruct<'a> { +pub trait KStruct<'a>: Default { type Parent: KStruct<'a>; type Root: KStruct<'a>;