diff --git a/src/main/java/org/cactoos/func/AsyncFunc.java b/src/main/java/org/cactoos/func/AsyncFunc.java index 049763d0ee..3922c2b786 100644 --- a/src/main/java/org/cactoos/func/AsyncFunc.java +++ b/src/main/java/org/cactoos/func/AsyncFunc.java @@ -35,7 +35,7 @@ *
If you want your piece of code to be executed in the background, * use {@link AsyncFunc} as following:
* - *new AsyncFunc( + *int length = new AsyncFunc( * input -> input.length() * ).apply("Hello, world!").get();*