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 @@ -566,8 +566,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
566
566
trait DefDefModule { this : DefDef .type =>
567
567
/** Create a method definition `def f[..](...)` with the signature defined in the symbol.
568
568
*
569
- * The `rhsFn` is a function that receives references to its parameters and should return
570
- * `Some` containing the implementation of the method. Returns `None` the method has no implementation.
569
+ * The `rhsFn` is a function that receives references to its parameters, and should return
570
+ * `Some` containing the implementation of the method, or `None` if the method has no implementation.
571
571
* Any definition directly inside the implementation should have `symbol` as owner.
572
572
*
573
573
* Use `Symbol.asQuotes` to create the rhs using quoted code.
@@ -643,8 +643,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
643
643
trait ValDefModule { this : ValDef .type =>
644
644
/** Create a value definition `val x`, `var x` or `lazy val x` with the signature defined in the symbol.
645
645
*
646
- * The `rhs` should return be `Some` containing the implementation of the method.
647
- * Returns `None` the method has no implementation.
646
+ * The `rhs` should return `Some` containing the implementation of the method,
647
+ * or `None` if the method has no implementation.
648
648
* Any definition directly inside the implementation should have `symbol` as owner.
649
649
*
650
650
* Use `Symbol.asQuotes` to create the rhs using quoted code.
You can’t perform that action at this time.
0 commit comments