From b81944579704198b3ea152a7e6d34faf2b139315 Mon Sep 17 00:00:00 2001 From: Johan Lindh Date: Thu, 21 Nov 2024 09:14:07 +0100 Subject: [PATCH] doc --- bind.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind.go b/bind.go index 0049a92..afb6423 100644 --- a/bind.go +++ b/bind.go @@ -120,7 +120,7 @@ func (bind Binding[T]) JawsSetTime(elem *Element, value time.Time) error { // It implements Setter[T]. It also implements BoolSetter, FloatSetter, StringSetter and TimeSetter, but will panic // if the underlying type T is not correct or not settable. // It has special support for fmt.Stringer, and will call T.String() for JawsGetString(). -// The pointer will be used as the UI tag. +// The pointer (or fmt.Stringer if applicable) will be used as the UI tag. func Bind[T comparable](l sync.Locker, p *T) Binding[T] { return Binding[T]{L: l, P: p} }