Skip to content

Commit 833a6a4

Browse files
authored
Merge pull request #1241 from joroKr21/cached-doc
Fix documentation of Cached
2 parents 8c59d3a + a6c115c commit 833a6a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/scala/shapeless/cached.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import scala.reflect.macros.whitebox
2828
* }
2929
*
3030
* def print() = println(implicitly[TC[Int]].msg)
31-
* def printCached() = println(cached[TC[Int]].msg)
31+
* def printCached() = println(Cached.implicitly[TC[Int]].msg)
3232
* }
3333
*
3434
* object Second {
@@ -37,7 +37,7 @@ import scala.reflect.macros.whitebox
3737
* }
3838
*
3939
* def print() = println(implicitly[TC[Int]].msg)
40-
* def printCached() = println(cached[TC[Int]].msg)
40+
* def printCached() = println(Cached.implicitly[TC[Int]].msg)
4141
* }
4242
*
4343
* First.print()

0 commit comments

Comments
 (0)