1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-08 06:32:28 +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

@@ -185,7 +185,7 @@ func main() {
<b>Signature:</b>
```go
func Compact[T any](slice []T) []T
func Compact[T comparable](slice []T) []T
```
<b>Example:</b>