diff --git a/lib/std/io/formatter.c3 b/lib/std/io/formatter.c3 index f66882057..fe4f1c76d 100644 --- a/lib/std/io/formatter.c3 +++ b/lib/std/io/formatter.c3 @@ -28,7 +28,8 @@ macro bool is_struct_with_default_print($Type) { return $Type.kindof == STRUCT &&& !$defined($Type.to_format) - &&& !$defined($Type.to_new_string); + &&& !$defined($Type.to_new_string) + &&& !$defined($Type.to_string); } <* @@ -529,4 +530,4 @@ fn usz! Formatter.print(&self, String str) } foreach (c : str) self.out(c)!; return self.idx; -} \ No newline at end of file +}