summaryrefslogtreecommitdiff
path: root/src/runtime/print.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/print.go')
-rw-r--r--src/runtime/print.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/print.go b/src/runtime/print.go
index 32626c1e9d..5f82335244 100644
--- a/src/runtime/print.go
+++ b/src/runtime/print.go
@@ -199,10 +199,6 @@ func printpointer(p unsafe.Pointer) {
}
func printstring(s string) {
- if uintptr(len(s)) > maxstring {
- gwrite(bytes("[string too long]"))
- return
- }
gwrite(bytes(s))
}