mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-21 20:10:50 +01:00
Updates comment to comply with go doc
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
This commit is contained in:
parent
161f04f87d
commit
f20d7c4b90
1 changed files with 1 additions and 1 deletions
|
@ -1799,7 +1799,7 @@ func (d Decimal) MarshalJSON() ([]byte, error) {
|
|||
return []byte(str), nil
|
||||
}
|
||||
|
||||
// MarshalYAML implements the yaml.Marshaler interface.
|
||||
// MarshalYAML implements the [yaml.Marshaler] interface.
|
||||
func (d Decimal) MarshalYAML() (interface{}, error) {
|
||||
if MarshalYAMLWithoutQuotes {
|
||||
n := yaml.Node{
|
||||
|
|
Loading…
Reference in a new issue