From fe1daf4e089c84eab7ad71642688c19e6857ecab Mon Sep 17 00:00:00 2001 From: Doug Coleman 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" } -- 2.34.1