1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-12 16:52:29 +08:00

doc: update slice and convertor document

This commit is contained in:
dudaodong
2022-12-01 11:43:10 +08:00
parent d8ed692651
commit d66f92cd68
4 changed files with 29 additions and 3 deletions

View File

@@ -188,7 +188,7 @@ func main() {
<b>函数签名:</b>
```go
func Compact[T any](slice []T) []T
func Compact[T comparable](slice []T) []T
```
<b>例子:</b>