Skip to content

Commit 1ec1b74

Browse files
netramalictrombley
andcommitted
Update nullable.go
Co-authored-by: Chris Trombley <[email protected]>
1 parent 9eb4a95 commit 1ec1b74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nullable.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ func (t *NullableAttr[T]) SetUnspecified() {
117117
*t = map[bool]T{}
118118
}
119119

120-
// NewNullableAttrWithValue is a convenience helper to allow constructing a
121-
// NullableAttr with a given value, for instance to construct a field inside a
120+
// NewNullableRelationshipWithValue is a convenience helper to allow constructing a
121+
// NullableRelationship with a given value, for instance to construct a field inside a
122122
// struct without introducing an intermediate variable.
123123
func NewNullableRelationshipWithValue[T any](t T) NullableRelationship[T] {
124124
var n NullableRelationship[T]

0 commit comments

Comments
 (0)