Skip to content

Commit ab61772

Browse files
committed
stylistic: add return keyword
1 parent 21ec790 commit ab61772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rulesets/Base/base.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# TODO: define using `Returns((NoTangent(), ZeroTangent()))` when support for Julia v1.6 is dropped
88
function _pullback_for_constant(::Any)
9-
(NoTangent(), ZeroTangent())
9+
return (NoTangent(), ZeroTangent())
1010
end
1111

1212
# `zero`

0 commit comments

Comments
 (0)