Skip to content

Commit 38a0efd

Browse files
authored
transpile: standardize comment mentioning a future #![feature()]
This should make it more grep-able in the future when we update our nightly.
1 parent d68009a commit 38a0efd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

c2rust-transpile/src/translator/pointers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ impl<'c> Translation<'c> {
183183
val = val.map(|val| mk().set_mutbl(mutbl).raw_borrow_expr(val));
184184

185185
if is_array_decay {
186-
// TODO: Call `ptr::as_[mut]_ptr` instead once that is available.
187-
// (`array_ptr_get` feature added to nightly in January 2024)
186+
// TODO: Call `pointer::as_[mut]_ptr` instead once that is available.
187+
// (`#![feature(array_ptr_get)]` added in nightly-2024-03-17.)
188188
needs_cast = true;
189189
}
190190
}

0 commit comments

Comments
 (0)