diff options
author | Cyril Plisko <cyril.plisko@mountall.com> | 2017-12-03 19:58:18 -0500 |
---|---|---|
committer | Cyril Plisko <cyril.plisko@mountall.com> | 2017-12-03 19:58:18 -0500 |
commit | fdfb11eb241bcd0358927c10552e7443f6ba582d (patch) | |
tree | 2d5b065a544125eb39a5dfff370a964a86fc9c8e | |
parent | 6056032975232ae5af9f3995fe481582d7c4ecb7 (diff) |
Drop 'static lifetime in tests
-rw-r--r-- | src/utils.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.rs b/src/utils.rs index fb1f869..cc67e40 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -78,10 +78,10 @@ mod tests { use super::*; #[cfg(target_os = "linux")] - const MORE: &'static str = "/bin/more"; + const MORE: &str = "/bin/more"; #[cfg(target_os = "macos")] - const MORE: &'static str = "/usr/bin/more"; + const MORE: &str = "/usr/bin/more"; #[test] fn more_found_in_path() { |