Skip to content

Commit

Permalink
fnonce
Browse files Browse the repository at this point in the history
  • Loading branch information
enitrat committed Dec 23, 2024
1 parent eed2a1a commit 7100aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/src/option.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ pub impl OptionTraitImpl<T> of OptionTrait<T> {
}

#[inline]
fn unwrap_or_else<F, +Drop<F>, impl func: core::ops::Fn<F, ()>[Output: T], +Drop<func::Output>>(
fn unwrap_or_else<F, +Drop<F>, impl func: core::ops::FnOnce<F, ()>[Output: T], +Drop<func::Output>>(
self: Option<T>, f: F,
) -> T {
match self {
Expand Down

0 comments on commit 7100aaa

Please sign in to comment.