summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2010-04-12 14:38:16 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2010-04-12 14:38:16 +0000
commit03e6cd14000ef66cb03fd515c454994df06edcb8 (patch)
treeeeaf73343e76a47ef2307f40ae69099cb7384ee9 /src/library
parent248c72814a359067e3aeef19caf7d69a0d6bd181 (diff)
downloadscala-03e6cd14000ef66cb03fd515c454994df06edcb8.tar.gz
scala-03e6cd14000ef66cb03fd515c454994df06edcb8.tar.bz2
scala-03e6cd14000ef66cb03fd515c454994df06edcb8.zip
[scaladoc] More mitigation code for dangerous H...
[scaladoc] More mitigation code for dangerous HTML tags. No review.
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/native.scala22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/library/scala/native.scala b/src/library/scala/native.scala
index fbacf43b72..8aeffe1632 100644
--- a/src/library/scala/native.scala
+++ b/src/library/scala/native.scala
@@ -11,16 +11,14 @@
package scala
-/**
- * Marker for native methods.
- * <p>
- * <code>@native def f(x: Int, y: List[Long]): String = ..</code>
- * </p>
- * <p>
- * Method body is not generated if method is marked with <code>@native</code>,
- * but it is type checked when present.
- * </p>
- *
- * @since 2.6
- */
+/** Marker for native methods.
+ *
+ * {{{
+ * @native def f(x: Int, y: List[Long]): String = ...
+ * }}}
+ *
+ * Method body is not generated if method is marked with `@native`,
+ * but it is type checked when present.
+ *
+ * @since 2.6 */
class native extends StaticAnnotation {}