From b9514a08ff0e0120003f646627d24d1cc52914ad Mon Sep 17 00:00:00 2001 From: Greg Date: Thu, 15 Aug 2019 23:02:51 -0400 Subject: [PATCH] Fix docs. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b9f9b8..34628a5 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ the operation of a `WidgetCombinator` during operation. For example> type fWidget struct { l Layout } func NewfWidget(l layout) fWidget { return fWidget{ l: l } } -func (f Flex) Flexible(v float32) Widget { +func Flexible(v float32) Widget { return NewfWidget(func(ctx Context) Context { ctx.extra["Flexible"] = v return ctx