diff options
author | Oleksandr Redko <[email protected]> | 2023-05-18 12:05:56 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-05-18 21:25:27 +0200 |
commit | 610cedaa61cf1f318ecd4a7818a896b1e56e7662 (patch) | |
tree | 3c206f0386b05b44ec1f3bd00f9d96f6904c8446 /lazy | |
parent | 24e7d0c174a24a016f65be46765ab9c795e1e123 (diff) | |
download | hugo-610cedaa61cf1f318ecd4a7818a896b1e56e7662.tar.gz hugo-610cedaa61cf1f318ecd4a7818a896b1e56e7662.zip |
all: Fix comments for exported functions and packages
Diffstat (limited to 'lazy')
-rw-r--r-- | lazy/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lazy/init.go b/lazy/init.go index bfb9c4e07..9a25e1e05 100644 --- a/lazy/init.go +++ b/lazy/init.go @@ -73,7 +73,7 @@ func (ini *Init) Branch(initFn func(context.Context) (any, error)) *Init { return ini.add(true, initFn) } -// BranchdWithTimeout is same as Branch, but with a timeout. +// BranchWithTimeout is same as Branch, but with a timeout. func (ini *Init) BranchWithTimeout(timeout time.Duration, f func(ctx context.Context) (any, error)) *Init { return ini.Branch(func(ctx context.Context) (any, error) { return ini.withTimeout(ctx, timeout, f) |