Skip to content

Commit db43758

Browse files
authored
Fixed typos for edges and has_edge (#182)
1 parent 7a2cc82 commit db43758

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interface.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ vertices(g::AbstractGraph) = _NI("vertices")
185185
186186
Return (an iterator to or collection of) the edges of a graph.
187187
For `AbstractSimpleGraph`s it returns a `SimpleEdgeIter`.
188-
The expressions `e in edges(g)` and `e ∈ edges(ga)` evaluate as
188+
The expressions `e in edges(g)` and `e ∈ edges(g)` evaluate as
189189
calls to [`has_edge`](@ref).
190190
191191
### Implementation Notes
@@ -255,7 +255,7 @@ Return true if the graph `g` has an edge from node `s` to node `d`.
255255
An optional `has_edge(g, e)` can be implemented to check if an edge belongs
256256
to a graph, including any data other than source and destination node.
257257
258-
`e edges(g)` or `e ∈ edges(g)` evaluate as
258+
`e in edges(g)` or `e ∈ edges(g)` evaluate as
259259
calls to `has_edge`, c.f. [`edges`](@ref).
260260
261261
# Examples

0 commit comments

Comments
 (0)