Skip to content

Commit 66875e1

Browse files
committed
fix errors in docs
1 parent ccedc45 commit 66875e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Without having an instance of the type:
6767

6868
println("age")
6969

70-
println(nameOf[Person](_.sayHello(???))
70+
println(nameOf[Person](_.sayHello(???)))
7171

7272
//compiles to:
7373
println("sayHello")
@@ -77,7 +77,7 @@ You can also use `nameOfType` to get the unqualified name of a type:
7777
```scala mdoc:nest
7878
import com.github.dwickern.macros.NameOf._
7979

80-
println(nameOf[java.lang.String])
80+
println(nameOfType[java.lang.String])
8181

8282
// compiles to:
8383

0 commit comments

Comments
 (0)