summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorJean-Remi Desjardins <jeanremi.desjardins@gmail.com>2012-11-14 17:32:58 -0500
committerJean-Remi Desjardins <jeanremi.desjardins@gmail.com>2012-11-14 17:32:58 -0500
commit666e375526f9fac2c491f514fc3020a0c209ee13 (patch)
treea1baf092a6a6a9ee5421ffb929323f5d162578e6 /src/library
parented6520b4fa002ea143cead5eb3633839d500e08d (diff)
downloadscala-666e375526f9fac2c491f514fc3020a0c209ee13.tar.gz
scala-666e375526f9fac2c491f514fc3020a0c209ee13.tar.bz2
scala-666e375526f9fac2c491f514fc3020a0c209ee13.zip
Fix Documentation Typo
There was a typo on the if. I also thought it might be worth rephrasing the paragraph because it seemed a bit contrived. It's a trivial fix, but it would allow us to close a bug in the issue tracker which seems worthwhile to me.
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/xml/transform/RewriteRule.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/xml/transform/RewriteRule.scala b/src/library/scala/xml/transform/RewriteRule.scala
index 1dca495a10..13210a6fd2 100644
--- a/src/library/scala/xml/transform/RewriteRule.scala
+++ b/src/library/scala/xml/transform/RewriteRule.scala
@@ -11,8 +11,8 @@
package scala.xml
package transform
-/** a RewriteRule, when applied to a term, yields either
- * the resulting of rewriting or the term itself it the rule
+/** A RewriteRule, when applied to a term, yields either
+ * the result of rewriting the term or the term itself if the rule
* is not applied.
*
* @author Burak Emir