summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2014-06-29 20:15:43 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2014-06-29 21:13:45 +0200
commit5f995bfdc007c7f8c23d2b933a40627c1f311a04 (patch)
tree9ede41f6325bfb2020ee72738f6fb2fc36d81c78 /src
parent0d1ae7a4683b1e4a305eb848e70ec641984a1067 (diff)
Fix a few minor formatting inconsistencies
* fix overlong lines * where appropriate use %% instead of %
Diffstat (limited to 'src')
-rw-r--r--src/rebar_config.erl4
-rw-r--r--src/rebar_erlc_compiler.erl4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_config.erl b/src/rebar_config.erl
index 1c90d22..0127aff 100644
--- a/src/rebar_config.erl
+++ b/src/rebar_config.erl
@@ -40,10 +40,10 @@
-include("rebar.hrl").
-ifdef(namespaced_types).
-% dict:dict() exists starting from Erlang 17.
+%% dict:dict() exists starting from Erlang 17.
-type rebar_dict() :: dict:dict().
-else.
-% dict() has been obsoleted in Erlang 17 and deprecated in 18.
+%% dict() has been obsoleted in Erlang 17 and deprecated in 18.
-type rebar_dict() :: dict().
-endif.
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index 376cde5..ae4503b 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/src/rebar_erlc_compiler.erl
@@ -48,10 +48,10 @@
}).
-ifdef(namespaced_types).
-% digraph:digraph() exists starting from Erlang 17.
+%% digraph:digraph() exists starting from Erlang 17.
-type rebar_digraph() :: digraph:digraph().
-else.
-% digraph() has been obsoleted in Erlang 17 and deprecated in 18.
+%% digraph() has been obsoleted in Erlang 17 and deprecated in 18.
-type rebar_digraph() :: digraph().
-endif.