We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dbf29e commit 3ac1915Copy full SHA for 3ac1915
library/src/dotty/DottyPredef.scala
@@ -37,10 +37,10 @@ object DottyPredef {
37
case ev: ValueOf[T] => ev.value
38
}
39
40
- /** Summon an given value of type `T`. Usually, the argument is not passed explicitly.
+ /** Summon a given value of type `T`. Usually, the argument is not passed explicitly.
41
*
42
* @tparam T the type of the value to be summoned
43
- * @return the given value typed as the given parameter
+ * @return the given value typed as the provided type parameter
44
*/
45
inline def summon[T](using x: T): x.type = x
46
0 commit comments