]> gitweb.factorcode.org Git - factor.git/commitdiff
syntax: fix SINGLETON: to be on its own line in docs.
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 12 Aug 2015 17:10:32 +0000 (12:10 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 12 Aug 2015 17:10:32 +0000 (12:10 -0500)
core/syntax/syntax-docs.factor

index 58d69aa0a9fccd4393131c05f7a2fd7ce276873c..d381685cec106a701ebbcbf1e7cdcbabf814c923 100644 (file)
@@ -467,7 +467,7 @@ HELP: SINGLETON:
     "Defines a new singleton class. The class word itself is the sole instance of the singleton class."
 }
 { $examples
-    { $example "USING: classes.singleton kernel io ;" "IN: singleton-demo" "USE: prettyprint SINGLETON: foo\nGENERIC: bar ( obj -- )\nM: foo bar drop \"a foo!\" print ;\nfoo bar" "a foo!" }
+    { $example "USING: classes.singleton kernel io ;" "IN: singleton-demo" "USE: prettyprint\nSINGLETON: foo\nGENERIC: bar ( obj -- )\nM: foo bar drop \"a foo!\" print ;\nfoo bar" "a foo!" }
 } ;
 
 HELP: SINGLETONS: