summaryrefslogtreecommitdiff
path: root/abnf_to_pest/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'abnf_to_pest/src/lib.rs')
-rw-r--r--abnf_to_pest/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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
}
}