src/Pure/General/pretty.scala
changeset 81340 30f7eb65d679
parent 81294 108284c8cbfd
child 81346 0cdd6729a962
--- a/src/Pure/General/pretty.scala	Mon Nov 04 14:50:21 2024 +0100
+++ b/src/Pure/General/pretty.scala	Mon Nov 04 20:55:01 2024 +0100
@@ -49,7 +49,7 @@
   /* text metric -- standardized to width of space */
 
   abstract class Metric {
-    val unit: Double
+    def unit: Double
     def apply(s: String): Double
   }