Skip to content

Commit 8d776bd

Browse files
authored
ctutils v0.4.0-pre.3 (#1390)
1 parent b2e7cef commit 8d776bd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ctutils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Constant-time utility library with selection and equality testing support target
55
applications. Supports `const fn` where appropriate. Built on the `cmov` crate which provides
66
architecture-specific predication intrinsics. Heavily inspired by the `subtle` crate.
77
"""
8-
version = "0.4.0-pre.2"
8+
version = "0.4.0-pre.3"
99
authors = ["RustCrypto Developers"]
1010
license = "Apache-2.0 OR MIT"
1111
homepage = "https://github.com/RustCrypto/utils/tree/master/ctselect"

ctutils/src/traits/ct_assign.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub trait CtAssign<Rhs: ?Sized = Self> {
3434
/// `Self` type implementing the trait, via a blanket impl.
3535
///
3636
/// It needs to be a separate trait from [`CtAssign`] because we need to be able to impl
37-
/// [`CtAssign`] for `[T]`.
37+
/// [`CtAssign`] for `[T]` which is `?Sized`.
3838
pub trait CtAssignSlice: CtAssign + Sized {
3939
/// Conditionally assign `src` to `dst` if `choice` is [`Choice::TRUE`], or leave it unchanged
4040
/// for [`Choice::FALSE`].

ctutils/src/traits/ct_eq.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ where
4545
/// `Self` type implementing the trait, via a blanket impl.
4646
///
4747
/// It needs to be a separate trait from [`CtEq`] because we need to be able to impl
48-
/// [`CtEq`] for `[T]`.
48+
/// [`CtEq`] for `[T]` which is `?Sized`.
4949
pub trait CtEqSlice: CtEq + Sized {
5050
/// Determine if `a` is equal to `b` in constant-time.
5151
#[must_use]

0 commit comments

Comments
 (0)