Skip to content

Commit c9add3a

Browse files
committed
Fixes typo in docs
This did not read well and looks like a typo. I added what I thought this should be but I may be wrong and this change may not represent the original intention. If so let me know and I will update the PR to include the proper words. Todd Pickell @tapickell <[email protected]>
1 parent 0aa8ecf commit c9add3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/scenic/graph.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ defmodule Scenic.Graph do
4141
4242
The empty graph that is returned from `build()` is then passed to `text(...)`, which
4343
adds a text primitive to the root group. The resulting graph from that call is then
44-
passed again into the `group(...)` call. This creates a new group and has calls an
44+
passed again into the `group(...)` call. This creates a new group and then calls an
4545
anonymous function that you can use to add primitives to the newly created group.
4646
4747
Notice that the anonymous "builder" function receives a graph as its only parameter.
@@ -166,7 +166,7 @@ defmodule Scenic.Graph do
166166
@err_msg_put "Graph.put can only update existing items."
167167
@err_msg_get_id_one "Graph.get! expected to find one and only one element"
168168

169-
# ============================================================================
169+
# ============================================================================
170170
# @doc """
171171
# Returns the root group of a graph as a primitive.
172172
# Deprecated. Use `Graph.get!(graph, :_root_)` instead.

0 commit comments

Comments
 (0)