We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 838b5a4 commit 4004493Copy full SHA for 4004493
doc/rustdoc.md
@@ -139,9 +139,14 @@ that one can still write things like `#[deriving(Eq)]`).
139
140
~~~
141
```rust
142
-# // showing 'fib' in this documentation would just be tedious and detracts from
143
-# // what's actualy being documented.
144
-# fn fib(n: int) { n + 2 }
+# /!\ The three following lines are comments, which are usually stripped off by
+# the doc-generating tool. In order to display them anyway in this particular
+# case, the character following the leading '#' is not a usual space like in
145
+# these first five lines but a non breakable one.
146
+#
147
+# // showing 'fib' in this documentation would just be tedious and detracts from
148
+# // what's actualy being documented.
149
+# fn fib(n: int) { n + 2 }
150
151
do spawn { fib(200); }
152
```
0 commit comments