Skip to content

Commit

Permalink
tools: update interface{} to any
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Aug 11, 2024
1 parent 5515633 commit 813a679
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/jcall/jcall.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func issueCalls(ctx context.Context, cli *jrpc2.Client, args []string) (time.Dur
return issueSequential(ctx, cli, specs)
}

func tprintf(msg string, args ...interface{}) {
func tprintf(msg string, args ...any) {
if !*doTiming {
return
}
Expand Down Expand Up @@ -278,7 +278,7 @@ func newSpecs(args []string) []jrpc2.Spec {
return specs
}

func param(s string) interface{} {
func param(s string) any {
if s == "" {
return nil
}
Expand Down

0 comments on commit 813a679

Please sign in to comment.