Skip to content

Commit

Permalink
Fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
solar05 committed Nov 18, 2023
1 parent 5c41e74 commit c26e6c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/65-extra/10-dates-and-times/lib/solution.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
defmodule Solution do
@spec shift_days(time :: %Time{} | %NaiveDateTime{} | %Date{} | %Time{}, amount :: integer()) ::
%Time{} | %NaiveDateTime{} | %Date{} | %Time{}
@spec shift_days(
time :: Time.t() | NaiveDateTime.t() | Date.t() | Time.t(),
amount :: integer()
) :: Time.t() | NaiveDateTime.t() | Date.t() | Time.t()
# BEGIN
def shift_days(time, 0), do: time

Expand Down

0 comments on commit c26e6c2

Please sign in to comment.