diff --git a/core/future-util.hh b/core/future-util.hh index 96a5d677d2..aff86fb25c 100644 --- a/core/future-util.hh +++ b/core/future-util.hh @@ -133,7 +133,7 @@ void do_until_continued(StopCondition&& stop_cond, AsyncAction&& action, promise /// \param stop_cond a callable taking no arguments, returning a boolean that /// evalutes to true when you don't want to call \c action /// any longer -/// \param action a callable taking to arguments, returning a future<>. Will +/// \param action a callable taking no arguments, returning a future<>. Will /// be called again as soon as the future resolves, unless the /// future fails, or \c stop_cond returns \c true. /// \return a ready future if we stopped successfully, or a failed future if