summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.go b/util.go
index 4d03417..aaca0da 100644
--- a/util.go
+++ b/util.go
@@ -166,7 +166,7 @@ func repClosure(m map[rune]byte) func(string) string {
}
buf.WriteByte(ch)
}
- return string(buf.Bytes())
+ return buf.String()
}
}