From c26e6c2d9926da0abe2e578e94934fe73b1b31b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=BE=D0=BB=D0=BE=D0=BC=D0=B0=D1=82=D0=B8=D0=BD=20?= =?UTF-8?q?=D0=90=D1=80=D1=82=D0=B5=D0=BC=20=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB?= =?UTF-8?q?=D0=B0=D0=B5=D0=B2=D0=B8=D1=87?= Date: Sat, 18 Nov 2023 18:34:16 +0300 Subject: [PATCH] Fix specs --- modules/65-extra/10-dates-and-times/lib/solution.ex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/65-extra/10-dates-and-times/lib/solution.ex b/modules/65-extra/10-dates-and-times/lib/solution.ex index bee1b09..2f4445a 100644 --- a/modules/65-extra/10-dates-and-times/lib/solution.ex +++ b/modules/65-extra/10-dates-and-times/lib/solution.ex @@ -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