From 6785c16f0244e27d696a61b108278b335650f2f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20N=C3=A9ri?= Date: Sun, 14 Nov 2010 02:44:04 +0100 Subject: Fix EDoc syntax errors --- src/rebar_dialyzer.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rebar_dialyzer.erl b/src/rebar_dialyzer.erl index 3fe9b7e..f0fa2e9 100644 --- a/src/rebar_dialyzer.erl +++ b/src/rebar_dialyzer.erl @@ -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, []), -- cgit v1.1