Skip to content

Commit

Permalink
fix: assign TODO comment to be TODO(mingwei)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhellerstein committed Sep 30, 2024
1 parent e424f6c commit 204fa88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variadics/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ where
fn reverse_ref(this: Self::AsRefVar<'_>) -> <Self::Reverse as VariadicExt>::AsRefVar<'_> {
let (item, rest) = this;
let out = Rest::reverse_ref(rest).extend((item, ()));
// TODO!!!
// TODO(mingwei): check if use of unsafe is necessary
let out2 = unsafe { std::mem::transmute_copy(&out) };
std::mem::forget(out);
out2
Expand Down

0 comments on commit 204fa88

Please sign in to comment.