From ddb2b5cd28289a658e29e9fa67d94c1404730125 Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Fri, 23 Sep 2016 18:20:28 +0200 Subject: [PATCH] fix typo in futures.rst (#21536) --- akka-docs/rst/java/futures.rst | 2 +- akka-docs/rst/scala/futures.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-docs/rst/java/futures.rst b/akka-docs/rst/java/futures.rst index 0415bdbffa..ea39963a45 100644 --- a/akka-docs/rst/java/futures.rst +++ b/akka-docs/rst/java/futures.rst @@ -187,7 +187,7 @@ Callbacks --------- Sometimes you just want to listen to a ``Future`` being completed, and react to that not by creating a new Future, but by side-effecting. -For this Scala supports ``onComplete``, ``onSuccess`` and ``onFailure``, of which the latter two are specializations of the first. +For this Scala supports ``onComplete``, ``onSuccess`` and ``onFailure``, of which the last two are specializations of the first. .. includecode:: code/docs/future/FutureDocTest.java :include: onSuccess diff --git a/akka-docs/rst/scala/futures.rst b/akka-docs/rst/scala/futures.rst index 52a665f46e..705e620708 100644 --- a/akka-docs/rst/scala/futures.rst +++ b/akka-docs/rst/scala/futures.rst @@ -227,7 +227,7 @@ Callbacks --------- Sometimes you just want to listen to a ``Future`` being completed, and react to that not by creating a new ``Future``, but by side-effecting. -For this Scala supports ``onComplete``, ``onSuccess`` and ``onFailure``, of which the latter two are specializations of the first. +For this Scala supports ``onComplete``, ``onSuccess`` and ``onFailure``, of which the last two are specializations of the first. .. includecode:: code/docs/future/FutureDocSpec.scala :include: onSuccess