Skip to content

Commit 09f48ea

Browse files
authored
fix example code (#462)
just removes an superfluous parenthesis
1 parent a41fa39 commit 09f48ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/ecosystem/interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This section is designed to guide developers who wish to write their own graph s
55
All Graphs.jl functions rely on a standard API to function. As long as your graph structure is a subtype of [`AbstractGraph`](@ref) and implements the following API functions with the given return values, all functions within the Graphs.jl package should just work:
66

77
- [`edges`](@ref)
8-
- [`edgetype`](@ref) (example: `edgetype(g::CustomGraph) = Graphs.SimpleEdge{eltype(g)})`)
8+
- [`edgetype`](@ref) (example: `edgetype(g::CustomGraph) = Graphs.SimpleEdge{eltype(g)}`)
99
- [`has_edge`](@ref)
1010
- [`has_vertex`](@ref)
1111
- [`inneighbors`](@ref)

0 commit comments

Comments
 (0)