From 32e2bf759a3734d8c2bb0f3b99c6a5a82a5dbe6d Mon Sep 17 00:00:00 2001
From: Doug Coleman <doug.coleman@gmail.com>
Date: Sat, 11 Sep 2010 14:12:24 -0500
Subject: [PATCH] Fix throw-restarts example

---
 core/continuations/continuations-docs.factor | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/continuations/continuations-docs.factor b/core/continuations/continuations-docs.factor
index 8775e599a6..dfecf75f90 100644
--- a/core/continuations/continuations-docs.factor
+++ b/core/continuations/continuations-docs.factor
@@ -206,8 +206,8 @@ HELP: throw-restarts
 { $examples
     "Try invoking one of the two restarts which are offered after the below code throws an error:"
     { $code
-        ": restart-test"
-        "    \"Oops!\" { { \"One\" 1 } { \"Two\" 2 } } condition"
+        ": restart-test ( -- )"
+        "    \"Oops!\" { { \"One\" 1 } { \"Two\" 2 } } throw-restarts"
         "    \"You restarted: \" write . ;"
         "restart-test"
     }