From 429e3c93811ee522c81430735357ec457a395635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=81=C4=99picki?= Date: Fri, 12 May 2023 19:27:29 +0200 Subject: Update System.os_time/1 spec (#12561) since https://github.com/elixir-lang/elixir/pull/12558 it is also being called with :native as the time_unit --- lib/elixir/lib/system.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/elixir/lib/system.ex b/lib/elixir/lib/system.ex index 09825c38f..d2b212808 100644 --- a/lib/elixir/lib/system.ex +++ b/lib/elixir/lib/system.ex @@ -1314,7 +1314,7 @@ defmodule System do This time may be adjusted forwards or backwards in time with no limitation and is not monotonic. """ - @spec os_time(time_unit) :: integer + @spec os_time(time_unit | :native) :: integer @doc since: "1.3.0" def os_time(unit) do :os.system_time(normalize_time_unit(unit)) -- cgit v1.2.1