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 @@ -566,8 +566,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
566566 trait DefDefModule { this : DefDef .type =>
567567 /** Create a method definition `def f[..](...)` with the signature defined in the symbol.
568568 *
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.
571571 * Any definition directly inside the implementation should have `symbol` as owner.
572572 *
573573 * Use `Symbol.asQuotes` to create the rhs using quoted code.
@@ -643,8 +643,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
643643 trait ValDefModule { this : ValDef .type =>
644644 /** Create a value definition `val x`, `var x` or `lazy val x` with the signature defined in the symbol.
645645 *
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.
648648 * Any definition directly inside the implementation should have `symbol` as owner.
649649 *
650650 * Use `Symbol.asQuotes` to create the rhs using quoted code.
You can’t perform that action at this time.
0 commit comments