From: Mark Simulacrum Date: Sat, 24 Jun 2017 11:42:38 +0000 (-0600) Subject: Remove 'static lifetimes from channels. X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=d3bf6e562ecab27844924af741412865babeed84;p=rust.git Remove 'static lifetimes from channels. --- 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; // 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,