Skip to content

Commit

Permalink
Remove unncessary begin/end
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav-arya committed Aug 21, 2023
1 parent aa32c40 commit b35f261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compact.jl
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function supportself(fex::Expr, vars)
$curried_fex = ($self) -> let $(let_exprs...)
$fex
end
($self, args...; kwargs...) -> begin $curried_fex($self)(args...; kwargs...) end
($self, args...; kwargs...) -> $curried_fex($self)(args...; kwargs...)
end
end

Expand Down

0 comments on commit b35f261

Please sign in to comment.