Skip to content

Commit 41a46fc

Browse files
committed
Improve doc
1 parent ecba50d commit 41a46fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/src/scala/quoted/Quotes.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3666,7 +3666,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
36663666
@experimental def newClass(parent: Symbol, name: String, parents: List[TypeRepr], decls: Symbol => List[Symbol], selfType: Option[TypeRepr]): Symbol
36673667

36683668
/** Generates a new module symbol with an associated module class symbol,
3669-
* This returns the module symbol. The module class can be accessed calling `moduleClass` on this symbol.
3669+
* this is equivalent to an `object` declaration in source code.
3670+
* This method returns the module symbol. The module class can be accessed calling `moduleClass` on this symbol.
36703671
*
36713672
* Example usage:
36723673
* ```scala

0 commit comments

Comments
 (0)