microscopic doc improvement

This commit is contained in:
Matthew T. Adams 2016-02-25 16:34:43 -06:00
parent 889e0a670e
commit 4567327aa6

View file

@ -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)(_ + _)