Skip to content

Commit

Permalink
refactor: Upadte to rust 1.81
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian May committed Sep 6, 2024
1 parent c68f917 commit 38e9f05
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/helm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ impl ParsedOci {
.await?;

let tags: AwsTags = reqwest::Client::new()
.get(&format!("https://public.ecr.aws/v2/{path}/tags/list"))
.get(format!("https://public.ecr.aws/v2/{path}/tags/list"))
.header("Authorization", format!("Bearer {}", token.token))
.send()
.await?
Expand Down
2 changes: 1 addition & 1 deletion src/output/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub struct MultiOutput {
}

impl MultiOutput {
pub fn new(tx: Vec<Sender>) -> Self {
pub const fn new(tx: Vec<Sender>) -> Self {
Self { tx }
}

Expand Down

0 comments on commit 38e9f05

Please sign in to comment.