diff --git a/docs/slice.md b/docs/slice.md
index 2d9463d..615d229 100644
--- a/docs/slice.md
+++ b/docs/slice.md
@@ -77,7 +77,7 @@ import (
Signature:
```go
-func AppendIfAbsent[T comparable](slice []T, value T) []T
+func AppendIfAbsent(slice interface{}, value interface{}) interface{}
```
Example:
@@ -1012,7 +1012,7 @@ func main() {
Signature:
```go
-func ToSlice[T any](value ...T) []T
+func ToSlice(value ...interface{}) interface{}
```
Example:
@@ -1036,7 +1036,7 @@ func main() {
Signature:
```go
-func ToSlicePointer[T any](value ...T) []*T
+func ToSlicePointer(value ...interface{}) []*interface{}
```
Example:
diff --git a/docs/slice_zh-CN.md b/docs/slice_zh-CN.md
index dbf0e16..db7b646 100644
--- a/docs/slice_zh-CN.md
+++ b/docs/slice_zh-CN.md
@@ -72,7 +72,7 @@ import (
函数签名:
```go
-func AppendIfAbsent[T comparable](slice []T, value T) []T
+func AppendIfAbsent(slice interface{}, value interface{}) interface{}
```
例子:
@@ -1011,7 +1011,7 @@ func main() {
函数签名:
```go
-func ToSlice[T any](value ...T) []T
+func ToSlice(value ...interface{}) interface{}
```
例子:
@@ -1035,7 +1035,7 @@ func main() {
函数签名:
```go
-func ToSlicePointer[T any](value ...T) []*T
+func ToSlicePointer(value ...interface{}) []*interface{}
```
例子: