Skip to content

Commit 49f1639

Browse files
committed
Use t:Money.t/0 in docs
1 parent 2664868 commit 49f1639

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/money.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ defmodule Money do
117117
when is_binary(token_id) and byte_size(token_id) == 9
118118

119119
@doc """
120-
Returns a %Money{} struct from a currency code and a currency amount or
120+
Returns a `t:Money.t/0` from a currency code and a currency amount or
121121
an error tuple of the form `{:error, {exception, message}}`.
122122
123123
### Arguments
@@ -300,7 +300,7 @@ defmodule Money do
300300
end
301301

302302
@doc """
303-
Returns a %Money{} struct from a currency code and a currency amount. Raises an
303+
Returns a `t:Money.t/0` from a currency code and a currency amount. Raises an
304304
exception if the current code is invalid.
305305
306306
### Arguments
@@ -349,7 +349,7 @@ defmodule Money do
349349
end
350350

351351
@doc """
352-
Returns a %Money{} struct from a currency code and a float amount, or
352+
Returns a `t:Money.t/0` from a currency code and a float amount, or
353353
an error tuple of the form `{:error, {exception, message}}`.
354354
355355
Floats are fraught with danger in computer arithmetic due to the
@@ -414,7 +414,7 @@ defmodule Money do
414414
end
415415

416416
@doc """
417-
Returns a %Money{} struct from a currency code and a float amount, or
417+
Returns a `t:Money.t/0` from a currency code and a float amount, or
418418
raises an exception if the currency code is invalid.
419419
420420
See `Money.from_float/2` for further information.

0 commit comments

Comments
 (0)