Skip to content

Commit d6b7167

Browse files
Merge pull request #765 from Bumblebee00/fix_typo_in_slot
fixed typo in error message
2 parents 04f9bb1 + 4b48f08 commit d6b7167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rule.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ makeslot(s::Symbol, keys) = (push!(keys, s); Slot(s))
2222
# for when the slot is an expression, like `~x::predicate`
2323
function makeslot(s::Expr, keys)
2424
if !(s.head == :(::))
25-
error("Syntax for specifying a slot is ~x::\$predicate, where predicate is a boolean function")
25+
error("Syntax for specifying a slot is ~x::predicate, where predicate is a boolean function")
2626
end
2727

2828
name = s.args[1]

0 commit comments

Comments
 (0)