Skip to content

Commit

Permalink
Made clippy fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Sougata Bhattacharjee <[email protected]>
  • Loading branch information
sougata-progress committed Jul 24, 2024
1 parent 37293a0 commit e0b2716
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() }

Expand Down
8 changes: 4 additions & 4 deletions components/pkg-export-tar/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PackageIdent> {
ui: &mut UI,
ident_or_archive: &str,
fs_root_path: &Path)
-> Result<PackageIdent> {
self.install(ui,
ident_or_archive,
self.base_pkgs_url,
Expand Down

0 comments on commit e0b2716

Please sign in to comment.