summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-10-20 15:38:41 +0200
committerLudovic Courtès <ludo@gnu.org>2020-10-20 16:30:16 +0200
commitf59ec1de9494a3c6c571d573b450d87b8044d4bf (patch)
tree9ef4e5facc5a4626548306075ce60453365ba26d
parente21e0affd9d31a0e58d4df7c15b2b851be43279b (diff)
graph: Fix typo in docstring.
* guix/graph.scm (shortest-path): Fix typo in docstring.
-rw-r--r--guix/graph.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/graph.scm b/guix/graph.scm
index b695ca4306..fe446eefb4 100644
--- a/guix/graph.scm
+++ b/guix/graph.scm
@@ -142,7 +142,7 @@ typically returned by 'node-edges' or 'node-back-edges'."
nodes node-edges))
(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."
(define node-edges
(node-type-edges type))