Skip to content

Commit 521de74

Browse files
committed
Fix formatting
1 parent 56f747a commit 521de74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/engine/lib/engine/engine/build/isolation.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule Engine.Build.Isolation do
33
Runs functions in an isolated, monitored process
44
"""
55

6-
@spec invoke((() -> term())) :: {:ok, term()} | {:error, term()}
6+
@spec invoke((-> term())) :: {:ok, term()} | {:error, term()}
77
def invoke(function) when is_function(function, 0) do
88
me = self()
99

apps/engine/lib/engine/engine/progress.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule Engine.Progress do
55
@type message :: String.t()
66

77
@type delta :: pos_integer()
8-
@type on_complete_callback :: (() -> any())
8+
@type on_complete_callback :: (-> any())
99
@type report_progress_callback :: (delta(), message() -> any())
1010

1111
defmacro __using__(_) do
@@ -14,7 +14,7 @@ defmodule Engine.Progress do
1414
end
1515
end
1616

17-
@spec with_progress(label(), (() -> any())) :: any()
17+
@spec with_progress(label(), (-> any())) :: any()
1818
def with_progress(label, func) when is_function(func, 0) do
1919
on_complete = begin_progress(label)
2020

0 commit comments

Comments
 (0)