diff options
author | Nadrieril | 2019-03-09 16:24:14 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-09 16:24:14 +0100 |
commit | cb9dfc1b9421e9814dac3ba6c78bad0d271f9d67 (patch) | |
tree | fa1b6e14b16c7d63f6ad7df8ed583f24cbdad3c2 /dhall_core/src/core.rs | |
parent | 6037cb224c5e61828ba41cb3d34438ad03a71403 (diff) |
Obey clippy lints
Closes #14
Diffstat (limited to 'dhall_core/src/core.rs')
-rw-r--r-- | dhall_core/src/core.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_core/src/core.rs b/dhall_core/src/core.rs index 89fb6b9..e3e1f5c 100644 --- a/dhall_core/src/core.rs +++ b/dhall_core/src/core.rs @@ -97,7 +97,7 @@ impl Display for Label { } impl Label { - pub fn from_str<'a>(s: &'a str) -> Label { + pub fn from_str(s: &str) -> Label { s.to_owned().into() } } |