about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-06-24 05:42:38 -0600
committerMark Simulacrum <mark.simulacrum@gmail.com>2017-07-04 07:31:55 -0600
commitd3bf6e562ecab27844924af741412865babeed84 (patch)
treeec4dd3c25eceb1af99dd6d171ab97fb12d3cf144 /src/bootstrap
parent7ed4ee272e5adf8cd267278acb62b9d9312ee34b (diff)
downloadrust-d3bf6e562ecab27844924af741412865babeed84.tar.gz
rust-d3bf6e562ecab27844924af741412865babeed84.zip
Remove 'static lifetimes from channels.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/channel.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/channel.rs b/src/bootstrap/channel.rs
index 4664b1f765e..db0691fb1c2 100644
--- a/src/bootstrap/channel.rs
+++ b/src/bootstrap/channel.rs
@@ -23,12 +23,12 @@ use build_helper::output;
 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>,