1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-09 23:22:28 +08:00

comment: add comment for Unwrap

This commit is contained in:
dudaodong
2022-01-24 10:24:10 +08:00
parent 2878d389c8
commit acc8b59387
2 changed files with 3 additions and 3 deletions

View File

@@ -612,5 +612,5 @@ func main() {
- Function list:
```go
Unwrap[T any](val T, err error)
Unwrap[T any](val T, err error) //if err is nil then it returns a valid value otherwise it panics
```