]> git.lizzy.rs Git - rust.git/commitdiff
Remove 'static lifetimes from channels.
authorMark Simulacrum <mark.simulacrum@gmail.com>
Sat, 24 Jun 2017 11:42:38 +0000 (05:42 -0600)
committerMark Simulacrum <mark.simulacrum@gmail.com>
Tue, 4 Jul 2017 13:31:55 +0000 (07:31 -0600)
src/bootstrap/channel.rs

index 4664b1f765e630a9595a3f985f709b5ae3ff2796..db0691fb1c2e9e3ba0bf2bae37a51b33cae1deda 100644 (file)
 use Build;
 
 // The version number
-pub const CFG_RELEASE_NUM: &'static str = "1.20.0";
+pub const CFG_RELEASE_NUM: &str = "1.20.0";
 
 // An optional number to put after the label, e.g. '.2' -> '-beta.2'
 // Be sure to make this starts with a dot to conform to semver pre-release
 // versions (section 9)
-pub const CFG_PRERELEASE_VERSION: &'static str = ".1";
+pub const CFG_PRERELEASE_VERSION: &str = ".1";
 
 pub struct GitInfo {
     inner: Option<Info>,