summaryrefslogtreecommitdiff
path: root/src/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.rs')
-rw-r--r--src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs
index cd1ed56..f5eaf96 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -62,7 +62,7 @@ fn parse_depends(map: &Value) -> Vec<&str> {
}
// Get label string from a Mapping element, or empty string.
-fn parse_label<'a>(map: &'a Value) -> &'a str {
+fn parse_label(map: &Value) -> &str {
parse_string("label", map)
}