From 60904dd9a64537e6e959f89667c17271e99ee412 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 14 Feb 2020 21:17:44 +0100 Subject: [PATCH] layout: fix typos Signed-off-by: Elias Naur --- layout/context.go | 2 +- layout/stack.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/context.go b/layout/context.go index 39317e96..31734ca7 100644 --- a/layout/context.go +++ b/layout/context.go @@ -61,7 +61,7 @@ func (c *Context) Reset(cfg system.Config, size image.Point) { c.Ops.Reset() } -// Now returns the configuration time or the the zero time. +// Now returns the configuration time or the zero time. func (c *Context) Now() time.Time { if c.cfg == nil { return time.Time{} diff --git a/layout/stack.go b/layout/stack.go index 4a94e7a6..0f5ec18a 100644 --- a/layout/stack.go +++ b/layout/stack.go @@ -35,7 +35,7 @@ func Stacked(w Widget) StackChild { } // Expanded returns a Stack child that is forced to take up at least -// the the space as the largest Stacked. +// the space as the largest Stacked. func Expanded(w Widget) StackChild { return StackChild{ expanded: true,