File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -589,8 +589,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
589
589
trait DefDefModule { this : DefDef .type =>
590
590
/** Create a method definition `def f[..](...)` with the signature defined in the symbol.
591
591
*
592
- * The `rhsFn` is a function that receives references to its parameters and should return
593
- * `Some` containing the implementation of the method. Returns `None` the method has no implementation.
592
+ * The `rhsFn` is a function that receives references to its parameters, and should return
593
+ * `Some` containing the implementation of the method, or `None` if the method has no implementation.
594
594
* Any definition directly inside the implementation should have `symbol` as owner.
595
595
*
596
596
* Use `Symbol.asQuotes` to create the rhs using quoted code.
@@ -666,8 +666,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
666
666
trait ValDefModule { this : ValDef .type =>
667
667
/** Create a value definition `val x`, `var x` or `lazy val x` with the signature defined in the symbol.
668
668
*
669
- * The `rhs` should return be `Some` containing the implementation of the method.
670
- * Returns `None` the method has no implementation.
669
+ * The `rhs` should return `Some` containing the implementation of the method,
670
+ * or `None` if the method has no implementation.
671
671
* Any definition directly inside the implementation should have `symbol` as owner.
672
672
*
673
673
* Use `Symbol.asQuotes` to create the rhs using quoted code.
You can’t perform that action at this time.
0 commit comments