diff --git a/core/compiler/units/units-docs.factor b/core/compiler/units/units-docs.factor index a65dddb81a..8fb41c24a5 100644 --- a/core/compiler/units/units-docs.factor +++ b/core/compiler/units/units-docs.factor @@ -104,7 +104,8 @@ $nl "Manually creating a word using the non-optimizing compiler:" { $example "USING: compiler.units io ;" - "IN: test SYMBOL: foo" + "IN: scratchpad" + ": foo ( -- ) ;" "{ { foo [ \"hello!\" write nl ] } } t t modify-code-heap foo" "hello!" }