diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index d67061ca5..f64f6bf99 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -24,7 +24,7 @@ jobs: - uses: RustCrypto/actions/cargo-cache@master - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.79.0 + toolchain: 1.81.0 components: clippy - run: cargo clippy --all --all-features --tests -- -D warnings diff --git a/kem/src/lib.rs b/kem/src/lib.rs index 27dc0aa19..dc009d077 100644 --- a/kem/src/lib.rs +++ b/kem/src/lib.rs @@ -23,9 +23,10 @@ pub trait Encapsulate { fn encapsulate(&self, rng: &mut impl CryptoRngCore) -> Result<(EK, SS), Self::Error>; } -/// A value that can be used to decapsulate an encapsulated key. Often, this will just be a secret -/// key. But, as with [`Encapsulate`], it can be a bundle of secret keys, or it can include a -/// sender's private key for authenticated encapsulation. +/// A value that can be used to decapsulate an encapsulated key. +/// +/// Often, this will just be a secret key. But, as with [`Encapsulate`], it can be a bundle +/// of secret keys, or it can include a sender's private key for authenticated encapsulation. pub trait Decapsulate { /// Decapsulation error type Error: Debug;