Updates comment to comply with go doc

Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
This commit is contained in:
Chad Skeeters 2024-11-11 10:30:00 -06:00 committed by GitHub
parent 161f04f87d
commit f20d7c4b90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1799,7 +1799,7 @@ func (d Decimal) MarshalJSON() ([]byte, error) {
return []byte(str), nil return []byte(str), nil
} }
// MarshalYAML implements the yaml.Marshaler interface. // MarshalYAML implements the [yaml.Marshaler] interface.
func (d Decimal) MarshalYAML() (interface{}, error) { func (d Decimal) MarshalYAML() (interface{}, error) {
if MarshalYAMLWithoutQuotes { if MarshalYAMLWithoutQuotes {
n := yaml.Node{ n := yaml.Node{