summaryrefslogtreecommitdiff
path: root/abnf_to_pest/src/lib.rs
diff options
context:
space:
mode:
authorNadrieril Feneanar2020-03-17 23:36:12 +0000
committerGitHub2020-03-17 23:36:12 +0000
commit6c18f2b698874d125532625e2bedaa6621962074 (patch)
treedc8eec542bdbbb39bc24b8b43e1abf20490e6702 /abnf_to_pest/src/lib.rs
parent681dad33cf27b2be4f4b3cefd83998af1d7eefb2 (diff)
parent715a941333887c4a29c2c49102bf1455d88a5417 (diff)
Merge pull request #144 from Nadrieril/clippy
Clippy
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
}
}