Explorar o código

chore: fix typos

JianBo He %!s(int64=2) %!d(string=hai) anos
pai
achega
001e2976ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/emqx_gateway_mqttsn/src/emqx_mqttsn_registry.erl

+ 1 - 1
apps/emqx_gateway_mqttsn/src/emqx_mqttsn_registry.erl

@@ -35,7 +35,7 @@
 -define(PKEY(Id), {mqttsn, predef_topics, Id}).
 -define(PKEY(Id), {mqttsn, predef_topics, Id}).
 
 
 -type registry() :: #{
 -type registry() :: #{
-    %% The next topic id to be assigned to new registration
+    %% The last topic id aallocated
     last_topic_id := pos_integer(),
     last_topic_id := pos_integer(),
     %% The mapping from topic id to topic name
     %% The mapping from topic id to topic name
     id_to_name := map(),
     id_to_name := map(),