Skip to content

Commit e0b2716

Browse files
Made clippy fixes
Signed-off-by: Sougata Bhattacharjee <[email protected]>
1 parent 37293a0 commit e0b2716

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

components/core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ env_config_string!(#[derive(Deserialize, Serialize, Clone, Debug, Eq, Hash, Part
3434
ChannelIdent::LTS);
3535

3636
impl ChannelIdent {
37+
const LTS: &'static str = "LTS-2024";
3738
const STABLE: &'static str = "stable";
3839
const UNSTABLE: &'static str = "unstable";
39-
const LTS: &'static str = "LTS-2024";
4040

4141
pub fn as_str(&self) -> &str { self.0.as_str() }
4242

components/pkg-export-tar/src/build.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,10 @@ impl<'a> BuildSpec<'a> {
178178
}
179179

180180
async fn install_lts_pkg(&self,
181-
ui: &mut UI,
182-
ident_or_archive: &str,
183-
fs_root_path: &Path)
184-
-> Result<PackageIdent> {
181+
ui: &mut UI,
182+
ident_or_archive: &str,
183+
fs_root_path: &Path)
184+
-> Result<PackageIdent> {
185185
self.install(ui,
186186
ident_or_archive,
187187
self.base_pkgs_url,

0 commit comments

Comments
 (0)