Make edoc happy

This commit is contained in:
Craig Everett 2025-12-22 11:52:29 +09:00
parent 60c8adb4b1
commit 8b6085dee8
3 changed files with 6 additions and 5 deletions

View File

@ -970,6 +970,7 @@ contract_create(CreatorID, Path, InitArgs) ->
%% of course there are very good reasons why it should be set to a non-zero value
%% in the case of calls related to contract-governed payment systems.
%% </li>
%% <li>
%% <b>TTL:</b>
%% This stands for "Time-To-Live", meaning the height beyond which this element is
%% considered to be eligible for garbage collection (and therefore inaccessible!).

View File

@ -50,7 +50,7 @@
%% hz_format:amount(500000123000000000000000) ->
%% 500,000.123
%% '''
%% @equiv amount(us, Pucks).
%% @equiv amount(us, Pucks)
amount(Pucks) ->
amount(us, Pucks).
@ -83,7 +83,7 @@ amount(Pucks) ->
%% hz_format:amount({$_, 4}, 100500040123000000000000000) ->
%% 1_0050_0040.123
%% '''
%% @equiv amount(gaju, Style, Pucks).
%% @equiv amount(gaju, Style, Pucks)
amount(Style, Pucks) ->
amount(gaju, Style, Pucks).
@ -147,10 +147,9 @@ amount(puck, {Separator, Span}, Pucks) ->
Serialized :: string().
%% A formatter for decimal notation which permits a precision
%% value to be applied to the puck side of the format.
%% @equiv approx_amount(us, Precision, Pucks).
%% ```
%% hz_format:approx_amount(3, 100500040123000004500000001) ->
%% 100,500,040.123...
%% 100,500,040.123
%%
%% hz_format:approx_amount(13, 100500040123000004500000001) ->
%% 100,500,040.123,000,004,5...
@ -158,6 +157,7 @@ amount(puck, {Separator, Span}, Pucks) ->
%% hz_format:approx_amount(all, 100500040123000004500000001) ->
%% 100,500,040.123,000,004,500,000,001
%% '''
%% @equiv approx_amount(us, Precision, Pucks)
approx_amount(Precision, Pucks) ->
approx_amount(us, Precision, Pucks).

View File

@ -76,7 +76,7 @@ url2(Instruction, URL = #{path := Path}) ->
GRIDS :: uri_string:uri_string().
%% @doc
%% Forms a GRIDS URL for spends or transfers.
%% @equiv uri(Instruction, Recipient, Amount, "").
%% @equiv uri(Instruction, Recipient, Amount, "")
url(Instruction, Recipient, Amount) ->
url(Instruction, Recipient, Amount, "").