Update Flex.Clear() documentation

This commit is contained in:
Ben LeFevre 2020-01-27 14:37:07 +00:00 committed by GitHub
parent 37b143d5fa
commit 016b6bd9e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ func (f *Flex) RemoveItem(p Primitive) *Flex {
return f return f
} }
// Clear removes all items from the flexbox // Clear removes all items from the container.
func (f *Flex) Clear() *Flex { func (f *Flex) Clear() *Flex {
f.items = nil f.items = nil
return f return f