Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yznts authored Jan 15, 2023
1 parent 052f25c commit 6d536ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

// Example of async function
func foo() zen.Future[string] {
func foo() *zen.Future[string] {
return zen.Async(func() (string, error) {
// Imitate work
time.Sleep(time.Second)
Expand Down

0 comments on commit 6d536ce

Please sign in to comment.