comment: add comment for Unwrap

This commit is contained in:
dudaodong committed 2022-01-24 10:24:10 +08:00
1 parent 2878d389c8
commit acc8b59387
2 files changed
+3 -3

No files matched your search

+1 -1
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
```