Skip to content

Commit

Permalink
Update lib/digit_calculator.ex
Browse files Browse the repository at this point in the history
Co-authored-by: Vinícius da Costa Simões <vinicius.simoes95@gmail.com>
  • Loading branch information
Rafael Siqueira and vinikira authored Mar 18, 2021
1 parent c0c6ed5 commit 4557ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/digit_calculator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule BRAN.DigitCalculator do
@moduledoc """
Documentation for `BRAN.DigitCalculator`.
"""
@spec mod([integer()], integer(), [integer()], Function.t()) :: integer()
@spec mod([integer()], integer(), [integer()], function()) :: integer()
def mod(full_account_number, mod_factor, weights, sum_digits \\ fn stream -> stream end) do
full_account_number
|> calc_numbers(weights, sum_digits)
Expand Down

0 comments on commit 4557ba9

Please sign in to comment.