Skip to content

Commit

Permalink
Fix edoc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed May 12, 2021
1 parent 781a4cf commit 5b51c2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.eunit
_build/
_checkouts/
doc/
deps
*.o
*.beam
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ xref: $(REBAR)
dialyzer: $(REBAR)
$(REBAR) as test dialyzer

edoc: $(REBAR)
$(REBAR) edoc

./rebar3:
$(ERL) -noshell -s inets -s ssl \
-eval '{ok, saved_to_file} = httpc:request(get, {"$(REBAR_URL)", []}, [], [{stream, "./rebar3"}])' \
Expand Down
2 changes: 1 addition & 1 deletion src/mqtt_sessions_process.erl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

-define(KILL_TIMEOUT, 5000).

-type packet_id() :: 0..?MAX_PACKET_ID.
-type packet_id() :: 0..65535. % ?MAX_PACKET_ID

-record(state, {
protocol_version :: mqtt_packet_map:mqtt_version(),
Expand Down

0 comments on commit 5b51c2a

Please sign in to comment.