Skip to content

Commit

Permalink
Update src/ameba/rule/typing/proc_literal_return_type_restriction.cr
Browse files Browse the repository at this point in the history
Co-authored-by: Sijawusz Pur Rahnama <[email protected]>
  • Loading branch information
nobodywasishere and Sija authored Dec 28, 2024
1 parent 6e0710a commit 1705895
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module Ameba::Rule::Typing
enabled false
end

MSG = "Proc literals should have a return type"
MSG = "Proc literal should have a return type"

def test(source, node : Crystal::ProcLiteral)
return if node.def.return_type
Expand Down

0 comments on commit 1705895

Please sign in to comment.