Skip to content

Commit 0051b01

Browse files
committed
Note that a currency code can be custom
1 parent f7a9038 commit 0051b01

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/money.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ defmodule Money do
4242
alias Cldr.Currency
4343

4444
@typedoc """
45-
Money is composed of an atom representation of an ISO4217 currency code and
46-
a `Decimal` representation of an amount.
45+
Money is composed of an atom representation of an ISO4217 currency code or a custom
46+
currency code and a `Decimal` representation of an amount.
4747
"""
4848
@type t :: %Money{currency: Currency.currency_reference(), amount: Decimal.t(), format_options: Keyword.t()}
4949

0 commit comments

Comments
 (0)