From 4567327aa66a87384f3b35e3996c312f9f8ce594 Mon Sep 17 00:00:00 2001 From: "Matthew T. Adams" Date: Thu, 25 Feb 2016 16:34:43 -0600 Subject: [PATCH] microscopic doc improvement --- akka-docs/rst/scala/code/docs/stream/GraphStageDocSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-docs/rst/scala/code/docs/stream/GraphStageDocSpec.scala b/akka-docs/rst/scala/code/docs/stream/GraphStageDocSpec.scala index bf2e92c0c6..60b97b82c5 100644 --- a/akka-docs/rst/scala/code/docs/stream/GraphStageDocSpec.scala +++ b/akka-docs/rst/scala/code/docs/stream/GraphStageDocSpec.scala @@ -73,7 +73,7 @@ class GraphStageDocSpec extends AkkaSpec { val sourceGraph: Graph[SourceShape[Int], NotUsed] = new NumbersSource // Create a Source from the Graph to access the DSL - val mySource: Source[Int, NotUsed] = Source.fromGraph(new NumbersSource) + val mySource: Source[Int, NotUsed] = Source.fromGraph(sourceGraph) // Returns 55 val result1: Future[Int] = mySource.take(10).runFold(0)(_ + _)