Skip to content

Commit 9c7605a

Browse files
authored
kem: fix Clippy lint (RustCrypto#1674)
1 parent 181230a commit 9c7605a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/workspace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: RustCrypto/actions/cargo-cache@master
2525
- uses: dtolnay/rust-toolchain@master
2626
with:
27-
toolchain: 1.79.0
27+
toolchain: 1.81.0
2828
components: clippy
2929
- run: cargo clippy --all --all-features --tests -- -D warnings
3030

kem/src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ pub trait Encapsulate<EK, SS> {
2323
fn encapsulate(&self, rng: &mut impl CryptoRngCore) -> Result<(EK, SS), Self::Error>;
2424
}
2525

26-
/// A value that can be used to decapsulate an encapsulated key. Often, this will just be a secret
27-
/// key. But, as with [`Encapsulate`], it can be a bundle of secret keys, or it can include a
28-
/// sender's private key for authenticated encapsulation.
26+
/// A value that can be used to decapsulate an encapsulated key.
27+
///
28+
/// Often, this will just be a secret key. But, as with [`Encapsulate`], it can be a bundle
29+
/// of secret keys, or it can include a sender's private key for authenticated encapsulation.
2930
pub trait Decapsulate<EK, SS> {
3031
/// Decapsulation error
3132
type Error: Debug;

0 commit comments

Comments
 (0)