diff --git a/string-cache-codegen/lib.rs b/string-cache-codegen/lib.rs index 6f01343..efcf719 100644 --- a/string-cache-codegen/lib.rs +++ b/string-cache-codegen/lib.rs @@ -169,11 +169,6 @@ impl AtomType { destination.write_all( self.to_tokens() .to_string() - // Insert some newlines to make the generated code slightly easier to read. - .replace(" [ \"", "[\n\"") - .replace("\" , ", "\",\n") - .replace(" ( \"", "\n( \"") - .replace("; ", ";\n") .as_bytes(), ) } @@ -186,11 +181,6 @@ impl AtomType { destination.write_all( self.to_tokens() .to_string() - // Insert some newlines to make the generated code slightly easier to read. - .replace(" [ \"", "[\n\"") - .replace("\" , ", "\",\n") - .replace(" ( \"", "\n( \"") - .replace("; ", ";\n") .as_bytes(), )?; let str = String::from_utf8(destination).unwrap();