Explorar el Código

style: clean up text in panic in superscript

Benton Edmondson hace 1 año
padre
commit
76bb296242
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      style/style.go

+ 1 - 1
style/style.go

@@ -95,7 +95,7 @@ func superscript(value int) string {
 		case '8': return '\u2078'
 		case '9': return '\u2079'
 		default:
-			panic("cannot superscript non-digit")
+			panic("can't superscript non-digit")
 		}
 	}, text)
 }