From 7a7708904bf69c8f85a41efea1db4cd5ebc6fecb Mon Sep 17 00:00:00 2001 From: Matthias Krüger Date: Sun, 23 Jul 2023 10:12:40 +0200 Subject: match on chars instead of &strs for .split() or .strip_prefix() --- library/test/src/formatters/junit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/test') diff --git a/library/test/src/formatters/junit.rs b/library/test/src/formatters/junit.rs index 9f5bf24367e..a211ebf1ded 100644 --- a/library/test/src/formatters/junit.rs +++ b/library/test/src/formatters/junit.rs @@ -32,7 +32,7 @@ fn str_to_cdata(s: &str) -> String { let escaped_output = s.replace("]]>", "]]]]>"); let escaped_output = escaped_output.replace(" ", ""); format!("", escaped_output) -- cgit 1.4.1-3-g733a5