graph: Fix typo in docstring.

* guix/graph.scm (shortest-path): Fix typo in docstring.
This commit is contained in:
Ludovic Courtès 2020-10-20 15:38:41 +02:00
parent e21e0affd9
commit f59ec1de94
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -142,7 +142,7 @@ typically returned by 'node-edges' or 'node-back-edges'."
nodes node-edges)) nodes node-edges))
(define (shortest-path node1 node2 type) (define (shortest-path node1 node2 type)
"Return as a monadic value the shorted path, represented as a list, from "Return as a monadic value the shortest path, represented as a list, from
NODE1 to NODE2 of the given TYPE. Return #f when there is no path." NODE1 to NODE2 of the given TYPE. Return #f when there is no path."
(define node-edges (define node-edges
(node-type-edges type)) (node-type-edges type))