diff --git a/corelib/src/option.cairo b/corelib/src/option.cairo index 4ad2d768e0f..b64e1ec610e 100644 --- a/corelib/src/option.cairo +++ b/corelib/src/option.cairo @@ -306,7 +306,7 @@ pub impl OptionTraitImpl of OptionTrait { } #[inline] - fn unwrap_or_else, impl func: core::ops::Fn[Output: T], +Drop>( + fn unwrap_or_else, impl func: core::ops::FnOnce[Output: T], +Drop>( self: Option, f: F, ) -> T { match self {