summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/path/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path/parser.rs b/src/path/parser.rs
index 1867657..8378121 100644
--- a/src/path/parser.rs
+++ b/src/path/parser.rs
@@ -20,7 +20,7 @@ fn raw_ident(i: &str) -> IResult<&str, String> {
0123456789 \
_-",
),
- |s: &str| s.to_string(),
+ ToString::to_string,
)(i)
}