Skip to content

Conversation

@tarcieri
Copy link
Member

Adds a marker trait bounded on Clone + CtAssign which writes a blanket impl of CtSelect by cloning self and then performing CtAssign.

The blanket impl is used to replace all of the repeat occurrences in this crate alone, including the impl_ct_select_with_ct_assign! macro.

@tarcieri tarcieri force-pushed the ctutils/ct-select-using-ct-assign branch 4 times, most recently from f35a3da to c6f33ad Compare January 18, 2026 05:30
Adds a marker trait bounded on `Clone + CtAssign` which writes a blanket
impl of `CtSelect` by cloning `self` and then performing `CtAssign`.

The blanket impl is used to replace all of the repeat occurrences in
this crate alone, including the `impl_ct_select_with_ct_assign!` macro.
@tarcieri tarcieri force-pushed the ctutils/ct-select-using-ct-assign branch from c6f33ad to 28ba263 Compare January 18, 2026 05:32
@tarcieri tarcieri merged commit 6e30036 into master Jan 18, 2026
12 checks passed
@tarcieri tarcieri deleted the ctutils/ct-select-using-ct-assign branch January 18, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants