From c22e161f7bd97d4f6c063513cc051f6af2683d84 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Tue, 17 Mar 2020 23:01:35 +0000 Subject: Run clippy --- abnf_to_pest/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'abnf_to_pest/src') diff --git a/abnf_to_pest/src/lib.rs b/abnf_to_pest/src/lib.rs index 8615fc2..ba8bdf2 100644 --- a/abnf_to_pest/src/lib.rs +++ b/abnf_to_pest/src/lib.rs @@ -110,7 +110,7 @@ pub fn escape_rulename(x: &str) -> String { { x + "_" } else { - x.clone() + x } } -- cgit v1.2.3