correction

master
Charles Iliya Krempeaux 2023-11-01 18:20:44 -07:00
parent 7ce9180873
commit 0a9641db89
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ func (receiver Nullable[T]) MarshalJSON() ([]byte, error) {
} }
if receiver.isnothing() { if receiver.isnothing() {
return nil, erorr.Errorf("nul: cannot marshal opt.Nothing[%T]() into JSON", receiver.value) return nil, erorr.Errorf("nul: cannot marshal nul.Nothing[%T]() into JSON", receiver.value)
} }
if receiver.isnull { if receiver.isnull {