Skip to content

Commit

Permalink
Prefix unused variable with _
Browse files Browse the repository at this point in the history
This resolves a compile warning.
  • Loading branch information
QuinnWilton committed Jan 24, 2022
1 parent 594cf60 commit 71370a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/do_notation_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ defmodule Witchcraft.DoNotationTest do
b <- [3, 4]
let [h | _] = [a * b]
c <- [a, b, h]
let tens = c * 10
let _tens = c * 10
d <- [c - 1, c + 1]
[a, b, c, d]
end
Expand Down

0 comments on commit 71370a1

Please sign in to comment.