diff --git a/merde_core/src/with_lifetime.rs b/merde_core/src/with_lifetime.rs index 726fcf8..d4bba76 100644 --- a/merde_core/src/with_lifetime.rs +++ b/merde_core/src/with_lifetime.rs @@ -70,6 +70,13 @@ impl<'s> WithLifetime<'s> for () { type Lifetimed = (); } +impl<'s, T> WithLifetime<'s> for Option +where + T: WithLifetime<'s>, +{ + type Lifetimed = Option; +} + impl<'s, T> WithLifetime<'s> for Vec where T: WithLifetime<'s>,