diff --git a/Cargo.lock b/Cargo.lock index d02d5642..27f8aea8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -75,7 +75,7 @@ dependencies = [ [[package]] name = "ctutils" -version = "0.4.0-pre.2" +version = "0.4.0-pre.3" dependencies = [ "cmov", "proptest", diff --git a/ctutils/Cargo.toml b/ctutils/Cargo.toml index 18427779..f391807d 100644 --- a/ctutils/Cargo.toml +++ b/ctutils/Cargo.toml @@ -5,7 +5,7 @@ Constant-time utility library with selection and equality testing support target applications. Supports `const fn` where appropriate. Built on the `cmov` crate which provides architecture-specific predication intrinsics. Heavily inspired by the `subtle` crate. """ -version = "0.4.0-pre.2" +version = "0.4.0-pre.3" authors = ["RustCrypto Developers"] license = "Apache-2.0 OR MIT" homepage = "https://github.com/RustCrypto/utils/tree/master/ctselect" diff --git a/ctutils/src/traits/ct_assign.rs b/ctutils/src/traits/ct_assign.rs index 0919f685..96f14e62 100644 --- a/ctutils/src/traits/ct_assign.rs +++ b/ctutils/src/traits/ct_assign.rs @@ -34,7 +34,7 @@ pub trait CtAssign { /// `Self` type implementing the trait, via a blanket impl. /// /// It needs to be a separate trait from [`CtAssign`] because we need to be able to impl -/// [`CtAssign`] for `[T]`. +/// [`CtAssign`] for `[T]` which is `?Sized`. pub trait CtAssignSlice: CtAssign + Sized { /// Conditionally assign `src` to `dst` if `choice` is [`Choice::TRUE`], or leave it unchanged /// for [`Choice::FALSE`]. diff --git a/ctutils/src/traits/ct_eq.rs b/ctutils/src/traits/ct_eq.rs index 588b41fb..5df56489 100644 --- a/ctutils/src/traits/ct_eq.rs +++ b/ctutils/src/traits/ct_eq.rs @@ -45,7 +45,7 @@ where /// `Self` type implementing the trait, via a blanket impl. /// /// It needs to be a separate trait from [`CtEq`] because we need to be able to impl -/// [`CtEq`] for `[T]`. +/// [`CtEq`] for `[T]` which is `?Sized`. pub trait CtEqSlice: CtEq + Sized { /// Determine if `a` is equal to `b` in constant-time. #[must_use]