diff options
Diffstat (limited to 'src/path')
-rw-r--r-- | src/path/parser.rs | 2 |
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) } |