Fix EDoc syntax errors

This commit is contained in:
Daniel Néri 2010-11-14 02:44:04 +01:00 committed by Tuncer Ayaz
parent 513ae33c5c
commit 6785c16f02

View file

@ -98,7 +98,7 @@ dialyze(Config, File) ->
ok.
%% @doc Build the PLT.
%% @spec build-plt(Config::#config{}, File::string()) -> ok
%% @spec 'build-plt'(Config::#config{}, File::string()) -> ok
-spec 'build-plt'(Config::#config{}, File::string()) -> ok.
'build-plt'(Config, File) ->
Plt = new_plt_path(Config, File),
@ -118,7 +118,7 @@ dialyze(Config, File) ->
ok.
%% @doc Check whether the PLT is up-to-date (rebuilding it if not).
%% @spec check-plt(Config::#config{}, File::string()) -> ok
%% @spec 'check-plt'(Config::#config{}, File::string()) -> ok
-spec 'check-plt'(Config::#config{}, File::string()) -> ok.
'check-plt'(Config, File) ->
Plt = existing_plt_path(Config, File),
@ -199,7 +199,7 @@ existing_plt_path(Config, File) ->
%% @doc If the warnings option is present in rebar.config return its value,
%% otherwise return [].
%% @spec warnings(Config::#config{}) -> list().
%% @spec warnings(Config::#config{}) -> list()
-spec warnings(Config::#config{}) -> list().
warnings(Config) ->
DialyzerOpts = rebar_config:get(Config, dialyzer_opts, []),