get rid of interface{} since we now require Go 1.18

This commit is contained in:
Kovid Goyal
2022-09-21 08:11:46 +05:30
parent a44c89504b
commit 2cacd7a64a
15 changed files with 37 additions and 37 deletions

View File

@@ -139,7 +139,7 @@ func (self *Loop) KillIfSignalled() {
}
}
func (self *Loop) DebugPrintln(args ...interface{}) {
func (self *Loop) DebugPrintln(args ...any) {
if self.controlling_term != nil {
const limit = 2048
msg := fmt.Sprintln(args...)