remove TODO comment
This commit is contained in:
@@ -60,8 +60,6 @@ func List[T any](l []T) (ipld.Node, error) {
|
|||||||
// Any creates an IPLD node from any value
|
// Any creates an IPLD node from any value
|
||||||
// If possible, use another dedicated function for your type for performance.
|
// If possible, use another dedicated function for your type for performance.
|
||||||
func Any(v any) (res ipld.Node, err error) {
|
func Any(v any) (res ipld.Node, err error) {
|
||||||
// TODO: handle uint overflow below
|
|
||||||
|
|
||||||
// some fast path
|
// some fast path
|
||||||
switch val := v.(type) {
|
switch val := v.(type) {
|
||||||
case bool:
|
case bool:
|
||||||
|
|||||||
Reference in New Issue
Block a user