Permalink
Browse files

Fixed dialyzer typespec warning

  • Loading branch information...
1 parent 8fd0fef commit abb49d62a3f0d4071ab121ab38ceb60fa96118a7 Gianfranco Alongi committed Feb 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 One/Solution/src/ros_reader.erl
View
2 One/Solution/src/ros_reader.erl
@@ -3,7 +3,7 @@
read_dir/1
]).
--spec(read_file(string()) -> {ok,term()} | {error,no_such_file}).
+-spec(read_file(string()) -> binary() | {error,no_such_file}).
read_file(File) ->
case file:read_file(File) of
{error,enoent} ->

0 comments on commit abb49d6

Please sign in to comment.