Skip to content

Commit

Permalink
replaced list(...) with [...] in specs
Browse files Browse the repository at this point in the history
Summary:
we decided to standardize on a more concise form `[T]`

this diff takes care of some relatively low hanging fruits via a number of codemods

Differential Revision: D51247628

fbshipit-source-id: af47e50354df5066387ff59d2cb336622c36df34
Alexander Shturm authored and facebook-github-bot committed Nov 13, 2023
1 parent 58b0215 commit 9389c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wa_raft_app_sup.erl
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).

-spec init(Arg :: term()) -> {ok, {supervisor:sup_flags(), list(supervisor:child_spec())}}.
-spec init(Arg :: term()) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}.
init(_) ->
% Cache certain commonly used configuration values.
case ?RAFT_METRICS_MODULE() of

0 comments on commit 9389c24

Please sign in to comment.