File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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 =>
589589 trait DefDefModule { this : DefDef .type =>
590590 /** Create a method definition `def f[..](...)` with the signature defined in the symbol.
591591 *
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.
594594 * Any definition directly inside the implementation should have `symbol` as owner.
595595 *
596596 * Use `Symbol.asQuotes` to create the rhs using quoted code.
@@ -666,8 +666,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
666666 trait ValDefModule { this : ValDef .type =>
667667 /** Create a value definition `val x`, `var x` or `lazy val x` with the signature defined in the symbol.
668668 *
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.
671671 * Any definition directly inside the implementation should have `symbol` as owner.
672672 *
673673 * Use `Symbol.asQuotes` to create the rhs using quoted code.
You can’t perform that action at this time.
0 commit comments