diff --git a/components/core/src/lib.rs b/components/core/src/lib.rs index 7b5168e53da..66dbee0cefa 100644 --- a/components/core/src/lib.rs +++ b/components/core/src/lib.rs @@ -34,9 +34,9 @@ env_config_string!(#[derive(Deserialize, Serialize, Clone, Debug, Eq, Hash, Part ChannelIdent::LTS); impl ChannelIdent { + const LTS: &'static str = "LTS-2024"; const STABLE: &'static str = "stable"; const UNSTABLE: &'static str = "unstable"; - const LTS: &'static str = "LTS-2024"; pub fn as_str(&self) -> &str { self.0.as_str() } diff --git a/components/pkg-export-tar/src/build.rs b/components/pkg-export-tar/src/build.rs index ff2398a4f45..770dc86d58c 100644 --- a/components/pkg-export-tar/src/build.rs +++ b/components/pkg-export-tar/src/build.rs @@ -178,10 +178,10 @@ impl<'a> BuildSpec<'a> { } async fn install_lts_pkg(&self, - ui: &mut UI, - ident_or_archive: &str, - fs_root_path: &Path) - -> Result { + ui: &mut UI, + ident_or_archive: &str, + fs_root_path: &Path) + -> Result { self.install(ui, ident_or_archive, self.base_pkgs_url,