Fixes the wording of the Scaladoc on the unwatched method (#29766)

This commit is contained in:
Josep Prat 2020-10-21 17:09:30 +02:00 committed by GitHub
parent ee74c541d1
commit a023821f8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -176,7 +176,7 @@ object Effect {
final case class WatchedWith[U, T](other: ActorRef[U], message: T) extends Effect final case class WatchedWith[U, T](other: ActorRef[U], message: T) extends Effect
/** /**
* The behavior started watching `other`, through `context.unwatch(other)` * The behavior stopped watching `other`, through `context.unwatch(other)`
*/ */
final case class Unwatched[T](other: ActorRef[T]) extends Effect final case class Unwatched[T](other: ActorRef[T]) extends Effect

View file

@ -77,7 +77,7 @@ object Effects {
def watchedWith[U, T](other: ActorRef[U], message: T): WatchedWith[U, T] = WatchedWith(other, message) def watchedWith[U, T](other: ActorRef[U], message: T): WatchedWith[U, T] = WatchedWith(other, message)
/** /**
* The behavior started watching `other`, through `context.unwatch(other)` * The behavior stopped watching `other`, through `context.unwatch(other)`
*/ */
def unwatched[T](other: ActorRef[T]): Unwatched[T] = Unwatched(other) def unwatched[T](other: ActorRef[T]): Unwatched[T] = Unwatched(other)

View file

@ -76,7 +76,7 @@ object Effects {
def watchedWith[U, T](other: ActorRef[U], message: T): WatchedWith[U, T] = WatchedWith(other, message) def watchedWith[U, T](other: ActorRef[U], message: T): WatchedWith[U, T] = WatchedWith(other, message)
/** /**
* The behavior started watching `other`, through `context.unwatch(other)` * The behavior stopped watching `other`, through `context.unwatch(other)`
*/ */
def unwatched[T](other: ActorRef[T]): Unwatched[T] = Unwatched(other) def unwatched[T](other: ActorRef[T]): Unwatched[T] = Unwatched(other)