Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 48722ec

Browse files
committed
微修正
1 parent 53d5ca7 commit 48722ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ val dst = Dst(
1919
)
2020

2121
// after
22-
val newInstance = KMapper(Dst::class.primaryConstructor!!).map(src)
22+
val newInstance = KMapper(::Dst).map(src)
2323
```
2424
## How to use
2525
Published on JitPack.

0 commit comments

Comments
 (0)