Skip to content

Commit 47692f0

Browse files
authored
fix: fix a clippy warning (#300)
Fixes a clippy warning introduced in #296. The CI pipeline didn't run because changes in `rust-toolchain.toml` didn't trigger this workflow. This PR also fixes this.
1 parent 779d842 commit 47692f0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/clippy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
- .github/workflows/provision-linux.sh
1616
- .github/workflows/provision-darwin.sh
1717
- .github/workflows/clippy.yml
18+
- rust-toolchain.toml
1819
concurrency:
1920
group: ${{ github.workflow }}-${{ github.ref }}
2021
cancel-in-progress: true

backend/rs/ic_vetkeys/src/utils/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ impl DerivedKeyMaterial {
639639
fn derive_aes_gcm_key(&self, domain_sep: &str, version: u8) -> Vec<u8> {
640640
derive_symmetric_key(
641641
&self.key,
642-
&format!("ic-vetkd-bls12-381-g2-aes-gcm-v{}-{}", version, domain_sep),
642+
&format!("ic-vetkd-bls12-381-g2-aes-gcm-v{version}-{domain_sep}"),
643643
Self::GCM_KEY_SIZE,
644644
)
645645
}

0 commit comments

Comments
 (0)